From b12321b9897b511e94301b73c1c48c533412d739 Mon Sep 17 00:00:00 2001 From: Mataes Date: Wed, 16 May 2018 19:12:38 +0300 Subject: BossKey, BuddyExpectator, BuddyPounce, ChangeKeyboardLayout, ClientChangeNotify, Cln_skinedit, CmdLine: cmplugin adaptation --- plugins/ChangeKeyboardLayout/src/stdafx.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'plugins/ChangeKeyboardLayout/src/stdafx.h') 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 #include -#define __NO_CMPLUGIN_NEEDED - #include #include #include @@ -31,6 +29,13 @@ #define ModuleName LPGEN("ChangeKeyboardLayout") #define ModuleNameW LPGENW("ChangeKeyboardLayout") +struct CMPlugin : public PLUGIN +{ + CMPlugin() : + PLUGIN(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; -- cgit v1.2.3