diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-17 18:23:34 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-17 18:23:34 +0300 |
commit | 2aa59179945482dee30935c991f9317dfbf31946 (patch) | |
tree | 49fc2b77d68b636c7842a1af462af59c94ff6da5 /plugins/StatusChange/src/stdafx.h | |
parent | 4c4735a232c680e60a85d0f85e2cb392e012c6e0 (diff) |
Tipper, StopSpamMod, StopSpam, StatusManager, StatusChange, StartupSilence, StartPosition, SplashScreen, SpellChecker, Spamotron => CMPlugin
Diffstat (limited to 'plugins/StatusChange/src/stdafx.h')
-rw-r--r-- | plugins/StatusChange/src/stdafx.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/plugins/StatusChange/src/stdafx.h b/plugins/StatusChange/src/stdafx.h index 3ec8723cd2..a2335bb170 100644 --- a/plugins/StatusChange/src/stdafx.h +++ b/plugins/StatusChange/src/stdafx.h @@ -5,7 +5,6 @@ #include <windows.h>
#include <commctrl.h>
-#define __NO_CMPLUGIN_NEEDED
#include <newpluginapi.h>
#include <m_database.h>
#include <m_clist.h>
@@ -19,7 +18,14 @@ #define PLUGINNAME "StatusChange"
-typedef struct
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(PLUGINNAME)
+ {}
+};
+
+struct TOPTIONS
{
BOOL MessageRead;
BOOL MessageSend;
@@ -40,4 +46,4 @@ typedef struct BOOL IfInvisible;
BOOL IfOnthephone;
BOOL IfOuttolunch;
-} TOPTIONS;
+};
|