summaryrefslogtreecommitdiff
path: root/plugins/BossKeyPlus
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-18 20:40:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-18 20:40:44 +0300
commit37a022d37e79dbe9892f376ef7c3b6b8878c4aff (patch)
tree2700034a1955c16cb5eff5ffb944cc2eb7d9c00f /plugins/BossKeyPlus
parent5335298d8eb7571db123afb3bd1340cd949a8208 (diff)
hLangpack variable began migration inside CMPluginBase
it remains existing for now, but as reference to g_plugin.m_hLang
Diffstat (limited to 'plugins/BossKeyPlus')
-rw-r--r--plugins/BossKeyPlus/src/BossKey.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/BossKeyPlus/src/BossKey.cpp b/plugins/BossKeyPlus/src/BossKey.cpp
index dcf4da6bd6..5e6642d5a6 100644
--- a/plugins/BossKeyPlus/src/BossKey.cpp
+++ b/plugins/BossKeyPlus/src/BossKey.cpp
@@ -19,7 +19,6 @@
#include "stdafx.h"
-CLIST_INTERFACE *pcli;
HGENMENU g_hMenuItem;
HWINEVENTHOOK g_hWinHook;
HWND g_hListenWindow, g_hDlgPass, hOldForegroundWindow;
@@ -30,13 +29,16 @@ WORD g_wMask, g_wMaskAdv;
bool g_bWindowHidden, g_fPassRequested, g_TrayIcon;
char g_password[MAXPASSLEN + 1];
HKL oldLangID, oldLayout;
-CMPlugin g_plugin;
-int protoCount, hLangpack;
+int protoCount;
PROTOACCOUNT **proto;
unsigned *oldStatus;
wchar_t **oldStatusMsg;
BYTE g_bOldSetting;
+CMPlugin g_plugin;
+int &hLangpack(g_plugin.m_hLang);
+CLIST_INTERFACE *pcli;
+
PFNDwmIsCompositionEnabled dwmIsCompositionEnabled;
static void LanguageChanged(HWND hDlg);