diff options
Diffstat (limited to 'core/plugin.h')
-rw-r--r-- | core/plugin.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/core/plugin.h b/core/plugin.h deleted file mode 100644 index c84ea0b..0000000 --- a/core/plugin.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef PLUGIN_H -#define PLUGIN_H - -#include <list> - - -typedef PLUGININFO * (__cdecl * SetPluginInfo) (); -typedef int (__cdecl * Load) (PLUGINLINK *link); -typedef int (__cdecl * OnModulesLoaded) (); -typedef int (__cdecl * Unload) (); - -class plugin -{ -public: - struct exported_funcs_s - { - SetPluginInfo info; - Load load; - OnModulesLoaded loaded; - Unload unload; - }; - const HMODULE getHmodule(); - const exported_funcs_s getFuncs(); - PLUGININFO *getPluginInfo(); - int setHandle(const HMODULE &hMod); - plugin(const HMODULE hModule, const exported_funcs_s fnct, PLUGININFO *info); - ~plugin(); -private: - HMODULE hModule; - exported_funcs_s funcs; - PLUGININFO *pluginInfo; -}; -#endif |