diff options
Diffstat (limited to 'plugins/SimpleAR/src/stdafx.h')
-rw-r--r-- | plugins/SimpleAR/src/stdafx.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/plugins/SimpleAR/src/stdafx.h b/plugins/SimpleAR/src/stdafx.h index 26d54bb57a..2ba5c1c970 100644 --- a/plugins/SimpleAR/src/stdafx.h +++ b/plugins/SimpleAR/src/stdafx.h @@ -3,7 +3,6 @@ #include <windows.h>
#include <time.h>
-#define __NO_CMPLUGIN_NEEDED
#include <newpluginapi.h>
#include <m_clistint.h>
#include <m_langpack.h>
@@ -23,8 +22,15 @@ #define KEY_HEADING "Heading"
#define KEY_REPEATINTERVAL "RepeatInterval"
-//General
-extern HINSTANCE hinstance;
+// General
+
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(protocolname)
+ {}
+};
+
extern INT interval;
extern wchar_t *ptszDefaultMsg[6];
extern HGENMENU hEnableMenu;
|