summaryrefslogtreecommitdiff
path: root/plugins/MenuItemEx/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MenuItemEx/src/stdafx.h')
-rw-r--r--plugins/MenuItemEx/src/stdafx.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/MenuItemEx/src/stdafx.h b/plugins/MenuItemEx/src/stdafx.h
index 80a4dca30e..4f83841c4e 100644
--- a/plugins/MenuItemEx/src/stdafx.h
+++ b/plugins/MenuItemEx/src/stdafx.h
@@ -5,8 +5,6 @@
#include <windows.h>
-#define __NO_CMPLUGIN_NEEDED
-
#include <newpluginapi.h>
#include <win2k.h>
#include <m_system.h>
@@ -32,6 +30,13 @@
#define MODULENAME "MenuItemEx"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULENAME)
+ {}
+};
+
#define MIIM_STRING 0x00000040
extern PLUGININFOEX pluginInfoEx;