diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-18 20:40:44 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-18 20:40:44 +0300 |
commit | 37a022d37e79dbe9892f376ef7c3b6b8878c4aff (patch) | |
tree | 2700034a1955c16cb5eff5ffb944cc2eb7d9c00f /plugins/HwHotKeys/src | |
parent | 5335298d8eb7571db123afb3bd1340cd949a8208 (diff) |
hLangpack variable began migration inside CMPluginBase
it remains existing for now, but as reference to g_plugin.m_hLang
Diffstat (limited to 'plugins/HwHotKeys/src')
-rw-r--r-- | plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp | 2 | ||||
-rw-r--r-- | plugins/HwHotKeys/src/stdafx.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp b/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp index 7910ed2219..63d0a172fa 100644 --- a/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp +++ b/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 - 1307, USA. #include "stdafx.h"
CMPlugin g_plugin;
-int hLangpack;
+int &hLangpack(g_plugin.m_hLang);
HWND hDialogWnd = nullptr; // хэндл окна настроек, он глобально используется для вывода туда в реалтайме сканкодов клавы из хука
HHOOK hHook;
CLIST_INTERFACE *pcli;
diff --git a/plugins/HwHotKeys/src/stdafx.h b/plugins/HwHotKeys/src/stdafx.h index 192862500f..fdd33abd39 100644 --- a/plugins/HwHotKeys/src/stdafx.h +++ b/plugins/HwHotKeys/src/stdafx.h @@ -48,7 +48,6 @@ struct CMPlugin : public PLUGIN<CMPlugin> {}
};
-extern INT hLangpack;
extern HWND hDialogWnd; // глобально используется для вывода туда в реалтайме сканкодов клавы, из хука
extern HHOOK hHook;
|