diff options
author | Mataes <mataes2007@gmail.com> | 2018-05-16 22:58:35 +0300 |
---|---|---|
committer | Mataes <mataes2007@gmail.com> | 2018-05-16 22:58:35 +0300 |
commit | 56239fcddd46400d812d83e38597d593b5c0356d (patch) | |
tree | 9e8d35c9a990c2ff6b687ca53065d0c5a4bd3ac1 /plugins/HwHotKeys/src/stdafx.h | |
parent | 650fc5a2103cedfe149500ade9c684ecf381d348 (diff) |
HistoryLinkList, HistoryStats, historysweeperlight, httpserver, HwHotKeys: cmplugin adaptation
Diffstat (limited to 'plugins/HwHotKeys/src/stdafx.h')
-rw-r--r-- | plugins/HwHotKeys/src/stdafx.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/HwHotKeys/src/stdafx.h b/plugins/HwHotKeys/src/stdafx.h index 7c2ecb0b64..192862500f 100644 --- a/plugins/HwHotKeys/src/stdafx.h +++ b/plugins/HwHotKeys/src/stdafx.h @@ -22,8 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 - 1307, USA. #include <SDKDDKVer.h>
#include <windows.h>
-#define __NO_CMPLUGIN_NEEDED
-
#include <newpluginapi.h>
#include <m_langpack.h>
#include <m_database.h>
@@ -43,7 +41,13 @@ LRESULT CALLBACK key_hook(INT, WPARAM, LPARAM); extern CLIST_INTERFACE *pcli;
-extern HINSTANCE hInstance;
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(__DbModName)
+ {}
+};
+
extern INT hLangpack;
extern HWND hDialogWnd; // глобально используется для вывода туда в реалтайме сканкодов клавы, из хука
extern HHOOK hHook;
|