summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/plugin.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/plugin.h b/core/plugin.h
new file mode 100644
index 0000000..fd25d2a
--- /dev/null
+++ b/core/plugin.h
@@ -0,0 +1,16 @@
+#ifndef PLUGIN_H
+#define PLUGIN_H
+class plugin
+{
+public:
+ const HMODULE getHmodule();
+ int setHandle(const HMODULE &hMod);
+ int setName(const char *name);
+ const char *getName();
+ plugin(const HMODULE &hModule, const char *name);
+ ~plugin();
+private:
+ HMODULE hModule;
+ char *szPluginName;
+};
+#endif