diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-10-13 00:17:40 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-10-13 00:17:40 +0300 |
commit | 42992bc2c04dcfd322ead3fda1134439a2cfcf3a (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /core/plugin.h | |
parent | 599d73442416d9bad663e4d0900265e073946600 (diff) |
cleanup, switching to wxwidgets as main development framework
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 |