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/StartupSilence/src/stdafx.h | |
parent | 4c4735a232c680e60a85d0f85e2cb392e012c6e0 (diff) |
Tipper, StopSpamMod, StopSpam, StatusManager, StatusChange, StartupSilence, StartPosition, SplashScreen, SpellChecker, Spamotron => CMPlugin
Diffstat (limited to 'plugins/StartupSilence/src/stdafx.h')
-rw-r--r-- | plugins/StartupSilence/src/stdafx.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/plugins/StartupSilence/src/stdafx.h b/plugins/StartupSilence/src/stdafx.h index 50f6bf36f4..285f6c400f 100644 --- a/plugins/StartupSilence/src/stdafx.h +++ b/plugins/StartupSilence/src/stdafx.h @@ -4,7 +4,6 @@ #include <CommCtrl.h>
#include <WinSock.h>
-#define __NO_CMPLUGIN_NEEDED
#include <newpluginapi.h>
#include <m_core.h>
#include <m_clist.h>
@@ -27,15 +26,18 @@ static INT_PTR InitMenu(); void InitSettings();
void LoadSettings();
void DefSettings();
-void IsMenu();
void UpdateMenu();
void UpdateTTB();
-INT_PTR StartupSilenceEnabled(WPARAM wParam, LPARAM lParam);
-INT_PTR SilenceConnection(WPARAM wParam, LPARAM lParam);
-
#define MODULE_NAME "StartupSilence"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULE_NAME)
+ {}
+};
+
#define SS_SERVICE_NAME "StartupSilence/ToggleEnabled"
//StartupSilence/SilenceConnection
|