summaryrefslogtreecommitdiff
path: root/plugins/NoHistory/src/stdafx.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-17 20:51:37 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-17 20:51:37 +0300
commit7639f72273189df60566755c0d5f1e4ab7201b67 (patch)
tree94a51765449331befe968a90b48cbf08fa83e6ed /plugins/NoHistory/src/stdafx.h
parent523f3588b6f21adcc4bcf3ec3ffad05e2298863a (diff)
NewAwaySys, NewEventNotify, NewXstatusNotify, NoHistory, NotesReminders, NotifyAnything, Nudge => CMPlugin
Diffstat (limited to 'plugins/NoHistory/src/stdafx.h')
-rw-r--r--plugins/NoHistory/src/stdafx.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/plugins/NoHistory/src/stdafx.h b/plugins/NoHistory/src/stdafx.h
index 7ce31be872..295a3b01df 100644
--- a/plugins/NoHistory/src/stdafx.h
+++ b/plugins/NoHistory/src/stdafx.h
@@ -4,7 +4,6 @@
#include <windows.h>
#include <commctrl.h>
-#define __NO_CMPLUGIN_NEEDED
#include <win2k.h>
#include <newpluginapi.h>
#include <m_database.h>
@@ -22,13 +21,17 @@
#include "options.h"
#include "version.h"
-#define MODULE "NoHistory"
-#define DBSETTING_REMOVE "RemoveHistory"
+#define MODULE "NoHistory"
-extern HINSTANCE hInst;
+#define DBSETTING_REMOVE "RemoveHistory"
-#endif
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULE)
+ {}
+};
void SrmmMenu_Load();
-
+#endif