summaryrefslogtreecommitdiff
path: root/plugins/ChangeKeyboardLayout/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/ChangeKeyboardLayout/src/stdafx.h
parent3c4beeb99d4324fb453e928421c9b13d70ab4923 (diff)
BossKey, BuddyExpectator, BuddyPounce, ChangeKeyboardLayout, ClientChangeNotify, Cln_skinedit, CmdLine: cmplugin adaptation
Diffstat (limited to 'plugins/ChangeKeyboardLayout/src/stdafx.h')
-rw-r--r--plugins/ChangeKeyboardLayout/src/stdafx.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/plugins/ChangeKeyboardLayout/src/stdafx.h b/plugins/ChangeKeyboardLayout/src/stdafx.h
index 7be6d07a35..fc572a11c8 100644
--- a/plugins/ChangeKeyboardLayout/src/stdafx.h
+++ b/plugins/ChangeKeyboardLayout/src/stdafx.h
@@ -5,8 +5,6 @@
#include <commctrl.h>
#include <richedit.h>
-#define __NO_CMPLUGIN_NEEDED
-
#include <newpluginapi.h>
#include <m_options.h>
#include <m_langpack.h>
@@ -31,6 +29,13 @@
#define ModuleName LPGEN("ChangeKeyboardLayout")
#define ModuleNameW LPGENW("ChangeKeyboardLayout")
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(ModuleName)
+ {}
+};
+
// History++ API
#define MS_HPP_EG_WINDOW "History++/ExtGrid/NewWindow"
#define MS_HPP_EG_EVENT "History++/ExtGrid/Event"
@@ -90,8 +95,6 @@ typedef struct
POPUPACTION paActions[1];
} PopupOptions;
-extern HINSTANCE hInst;
-
extern HICON hPopupIcon, hCopyIcon;
extern LPCTSTR ptszKeybEng;