Move interface stuff to utility file.

* Alternative method to using dlopen and dlsym.

* Accepts partial version strings.

Signed-off-by: aixxe <me@aixxe.net>
This commit is contained in:
aixxe
2016-12-20 20:18:12 +00:00
parent 5e10af4344
commit 27eb1e65e2
2 changed files with 30 additions and 11 deletions

View File

@@ -1,11 +0,0 @@
#pragma once
typedef void* (*CreateInterfaceFn) (const char*, int*);
typedef void* (*InstantiateInterfaceFn) ();
class InterfaceReg {
public:
InstantiateInterfaceFn m_CreateFn;
const char* m_pName;
InterfaceReg* m_pNext;
};