summaryrefslogtreecommitdiff
path: root/plugins/ClientChangeNotify/src/stdafx.h
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2018-05-16 19:12:38 +0300
committerMataes <mataes2007@gmail.com>2018-05-16 19:12:38 +0300
commitb12321b9897b511e94301b73c1c48c533412d739 (patch)
treeaeec4c481dc82376e22879e76a81fd2abb7138f5 /plugins/ClientChangeNotify/src/stdafx.h
parent3c4beeb99d4324fb453e928421c9b13d70ab4923 (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.h11
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;