summaryrefslogtreecommitdiff
path: root/plugins/QuickReplies/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/QuickReplies/src/stdafx.h')
-rw-r--r--plugins/QuickReplies/src/stdafx.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/QuickReplies/src/stdafx.h b/plugins/QuickReplies/src/stdafx.h
index d4aadc189d..f56d5845d1 100644
--- a/plugins/QuickReplies/src/stdafx.h
+++ b/plugins/QuickReplies/src/stdafx.h
@@ -23,7 +23,6 @@ Boston, MA 02111-1307, USA.
#include <windows.h>
-#define __NO_CMPLUGIN_NEEDED
#include <newpluginapi.h>
#include <m_utils.h>
#include <m_string.h>
@@ -38,9 +37,15 @@ Boston, MA 02111-1307, USA.
#define MODULE "QuickReplies"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULE)
+ {}
+};
+
#define MS_QUICKREPLIES_SERVICE MODULE"/Service"
-extern HINSTANCE hInstance;
extern int iNumber;
int OnModulesLoaded(WPARAM wParam, LPARAM lParam);