diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-17 20:50:08 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-17 20:50:08 +0300 |
commit | 523f3588b6f21adcc4bcf3ec3ffad05e2298863a (patch) | |
tree | 428f9611be9bfdba157f5c2056908ee02c9c7ce6 /plugins/ListeningTo/src/stdafx.h | |
parent | 11e70d8c4e224d80015fffe0378c53abee5fd824 (diff) |
KeyboardNotify, ListeningTo, MessageState, MirandaG15, MirFox, Msg_Export, MsgPopup, mTextControl => CMPlugin
Diffstat (limited to 'plugins/ListeningTo/src/stdafx.h')
-rw-r--r-- | plugins/ListeningTo/src/stdafx.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/plugins/ListeningTo/src/stdafx.h b/plugins/ListeningTo/src/stdafx.h index bbb70355dd..905db9e8e9 100644 --- a/plugins/ListeningTo/src/stdafx.h +++ b/plugins/ListeningTo/src/stdafx.h @@ -28,8 +28,6 @@ Boston, MA 02111-1307, USA. #include <vector>
#include <algorithm>
-#define __NO_CMPLUGIN_NEEDED
-
#include <newpluginapi.h>
#include <win2k.h>
#include <m_protosvc.h>
@@ -71,11 +69,16 @@ Boston, MA 02111-1307, USA. #define MS_LISTENINGTO_HOTKEYS_DISABLE "ListeningTo/HotkeysDisable"
#define MS_LISTENINGTO_HOTKEYS_TOGGLE "ListeningTo/HotkeysToggle"
-#define MODULE_NAME "ListeningTo"
+#define MODULE_NAME "ListeningTo"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULE_NAME)
+ {}
+};
// Global Variables
-extern HINSTANCE hInst;
extern BOOL loaded;
#define MIR_FREE(_X_) { mir_free(_X_); _X_ = NULL; }
|