summaryrefslogtreecommitdiff
path: root/plugins/IgnoreState/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IgnoreState/src/stdafx.h')
-rw-r--r--plugins/IgnoreState/src/stdafx.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/plugins/IgnoreState/src/stdafx.h b/plugins/IgnoreState/src/stdafx.h
index 765038ff49..24925c1310 100644
--- a/plugins/IgnoreState/src/stdafx.h
+++ b/plugins/IgnoreState/src/stdafx.h
@@ -25,8 +25,6 @@
#include <windows.h>
#include <commctrl.h>
-#define __NO_CMPLUGIN_NEEDED
-
#include <win2k.h>
#include <newpluginapi.h>
#include <m_database.h>
@@ -41,6 +39,13 @@
#define MODULENAME "IgnoreState"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULENAME)
+ {}
+};
+
struct IGNOREITEMS
{
wchar_t* name;
@@ -54,8 +59,6 @@ extern int nII;
static byte bUseMirandaSettings;
-extern HINSTANCE g_hInst;
-
void applyExtraImage(MCONTACT hContact);
int onOptInitialise(WPARAM wParam, LPARAM lParam);