diff options
Diffstat (limited to 'plugins/MessageState/src/stdafx.h')
-rw-r--r-- | plugins/MessageState/src/stdafx.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/MessageState/src/stdafx.h b/plugins/MessageState/src/stdafx.h index 4efd7ab1f4..13827de990 100644 --- a/plugins/MessageState/src/stdafx.h +++ b/plugins/MessageState/src/stdafx.h @@ -4,8 +4,6 @@ #include <time.h>
#include <locale.h>
-#define __NO_CMPLUGIN_NEEDED
-
#include <m_messagestate.h>
#include <newpluginapi.h>
#include <m_database.h>
@@ -22,5 +20,11 @@ #define MODULENAME "MessageState"
-extern HINSTANCE g_hInst;
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULENAME)
+ {}
+};
+
extern IconItem Icons[];
\ No newline at end of file |