diff options
author | Mataes <mataes2007@gmail.com> | 2018-05-16 19:12:38 +0300 |
---|---|---|
committer | Mataes <mataes2007@gmail.com> | 2018-05-16 19:12:38 +0300 |
commit | b12321b9897b511e94301b73c1c48c533412d739 (patch) | |
tree | aeec4c481dc82376e22879e76a81fd2abb7138f5 /plugins/ClientChangeNotify/src/stdafx.h | |
parent | 3c4beeb99d4324fb453e928421c9b13d70ab4923 (diff) |
BossKey, BuddyExpectator, BuddyPounce, ChangeKeyboardLayout, ClientChangeNotify, Cln_skinedit, CmdLine: cmplugin adaptation
Diffstat (limited to 'plugins/ClientChangeNotify/src/stdafx.h')
-rw-r--r-- | plugins/ClientChangeNotify/src/stdafx.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/plugins/ClientChangeNotify/src/stdafx.h b/plugins/ClientChangeNotify/src/stdafx.h index 53493b51e1..2b9c9168d1 100644 --- a/plugins/ClientChangeNotify/src/stdafx.h +++ b/plugins/ClientChangeNotify/src/stdafx.h @@ -31,8 +31,6 @@ #include <WinSock.h>
#include <commdlg.h>
-#define __NO_CMPLUGIN_NEEDED
-
#include "newpluginapi.h"
#include "statusmodes.h"
#include "m_popup.h"
@@ -85,6 +83,14 @@ #define NOTIFYTIMER_INTERVAL 3500
#define MOD_NAME "ClientChangeNotify"
+
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MOD_NAME)
+ {}
+};
+
#define LOG_ID MOD_NAME
#define LOG_PREFIX MOD_NAME ": " // for netlib.log
@@ -104,7 +110,6 @@ #define CLIENTCHANGED_SOUND "ClientChanged"
-extern HINSTANCE g_hInstance;
extern BOOL bPopupExists, bFingerprintExists;
extern COptPage g_PopupOptPage;
|