summaryrefslogtreecommitdiff
path: root/plugins/BuddyExpectator/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/BuddyExpectator/src/stdafx.h
parent3c4beeb99d4324fb453e928421c9b13d70ab4923 (diff)
BossKey, BuddyExpectator, BuddyPounce, ChangeKeyboardLayout, ClientChangeNotify, Cln_skinedit, CmdLine: cmplugin adaptation
Diffstat (limited to 'plugins/BuddyExpectator/src/stdafx.h')
-rw-r--r--plugins/BuddyExpectator/src/stdafx.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/BuddyExpectator/src/stdafx.h b/plugins/BuddyExpectator/src/stdafx.h
index d5e606febe..ba7a01892f 100644
--- a/plugins/BuddyExpectator/src/stdafx.h
+++ b/plugins/BuddyExpectator/src/stdafx.h
@@ -27,8 +27,6 @@
#include <time.h>
#include <locale.h>
-#define __NO_CMPLUGIN_NEEDED
-
#include <newpluginapi.h>
#include <m_skin.h>
#include <m_clistint.h>
@@ -49,7 +47,13 @@
#define MODULE_NAME "BuddyExpectator"
-extern HINSTANCE hInst;
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULE_NAME)
+ {}
+};
+
extern HANDLE hExtraIcon;
void CALLBACK TimerProc(HWND, UINT, UINT_PTR, DWORD);