diff options
Diffstat (limited to 'plugins/ChangeKeyboardLayout/src/stdafx.h')
-rw-r--r-- | plugins/ChangeKeyboardLayout/src/stdafx.h | 11 |
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;
|