#ifndef __LOAD_MODULE_H #define __LOAD_MODULE_H #include typedef void* (*Func_Lib_Init)(void *); typedef void (*Func_Lib_Free)(); class CLoadModule { public: CLoadModule(const char *szLibName, const char *szFuncInit, const char *szFuncFree, const char* szPath = NULL); ~CLoadModule(void); void* ModuleInit(void* inParam = NULL); void ModuleFree(); private: QLibrary m_lib; Func_Lib_Init m_fpInit; Func_Lib_Free m_fpFree; }; #endif