summaryrefslogtreecommitdiff
path: root/plugins/Msg_Export/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Msg_Export/src/stdafx.h')
-rwxr-xr-xplugins/Msg_Export/src/stdafx.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/Msg_Export/src/stdafx.h b/plugins/Msg_Export/src/stdafx.h
index 6a4de3ead7..29ba199b25 100755
--- a/plugins/Msg_Export/src/stdafx.h
+++ b/plugins/Msg_Export/src/stdafx.h
@@ -28,8 +28,6 @@ using namespace std;
#include <string>
#include <map>
-#define __NO_CMPLUGIN_NEEDED
-
#include <newpluginapi.h>
#include <m_database.h>
#include <m_clist.h>
@@ -56,7 +54,12 @@ using namespace std;
#define szFileViewDB "FileV_"
#define WM_RELOAD_FILE (WM_USER+10)
-extern HINSTANCE hInstance;
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULE)
+ {}
+};
extern MWindowList hInternalWindowList;