From 42992bc2c04dcfd322ead3fda1134439a2cfcf3a Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Wed, 13 Oct 2010 00:17:40 +0300 Subject: cleanup, switching to wxwidgets as main development framework --- core/plugin.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 core/plugin.h (limited to 'core/plugin.h') 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 - - -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 -- cgit v1.2.3