#include <DynamicLibrary.h>
Collaboration diagram for DynamicLibrary:
Public Types | |
typedef void(*) | fProc () |
Public Member Functions | |
void | construct (int version=1) |
DynamicLibrary (const char *dllName) | |
Constructor, loads the library specified by dllName. | |
DynamicLibrary (const char *dllName, int version) | |
Constructor, loads the library specified by dllName and version, version is only used on linux. | |
DynamicLibrary (const char *dllName, const char *pathHint, int version=1) | |
Constructor, loads the library specified by dllName, using subdirectory hint. | |
fProc | getProc (const char *procName) |
get a procedure address from the library | |
std::string | getVersionStr () |
get version string, returns resource version string of DLL on win32, and full path of library on linux | |
std::string | getName () |
return loaded library name | |
Public Attributes | |
void * | mLibhandle |
std::string | name |
const char * | m_pathHint |
Static Public Attributes | |
static std::string | arrPaths [] |
Dynamiclibrary loads a DLL or windows or .so on linux/others, specified by its basename, like "winscard" or "pcsclite". Somewhat hackish and does not really belong here