diff options
Diffstat (limited to 'plugins')
137 files changed, 3 insertions, 142 deletions
diff --git a/plugins/AddContactPlus/src/main.cpp b/plugins/AddContactPlus/src/main.cpp index 977ef6d80a..8d25acd7f9 100644 --- a/plugins/AddContactPlus/src/main.cpp +++ b/plugins/AddContactPlus/src/main.cpp @@ -24,7 +24,6 @@ with this program; if not, write to the Free Software Foundation, Inc., CLIST_INTERFACE *pcli;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
static HANDLE hToolBarItem = nullptr;
static HGENMENU hMainMenuItem = nullptr;
HWND hAddDlg;
diff --git a/plugins/Alarms/src/alarms.cpp b/plugins/Alarms/src/alarms.cpp index 205fffe53e..3e8ad68d0a 100644 --- a/plugins/Alarms/src/alarms.cpp +++ b/plugins/Alarms/src/alarms.cpp @@ -19,7 +19,6 @@ wchar_t szGamePrefix[] = COMMANDPREFIX; CLIST_INTERFACE *pcli;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
HANDLE hTopToolbarButton;
diff --git a/plugins/AsSingleWindow/src/AsSingleWindow.cpp b/plugins/AsSingleWindow/src/AsSingleWindow.cpp index 6ff1c083f4..c91d544486 100644 --- a/plugins/AsSingleWindow/src/AsSingleWindow.cpp +++ b/plugins/AsSingleWindow/src/AsSingleWindow.cpp @@ -8,7 +8,6 @@ sPluginVars pluginVars; CMPlugin g_plugin; CLIST_INTERFACE *pcli; -int &hLangpack(g_plugin.m_hLang); ///////////////////////////////////////////////////////////////////////////////////////// diff --git a/plugins/AssocMgr/src/main.cpp b/plugins/AssocMgr/src/main.cpp index 1e2360d1db..cc8e1d8690 100644 --- a/plugins/AssocMgr/src/main.cpp +++ b/plugins/AssocMgr/src/main.cpp @@ -24,7 +24,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #pragma comment(lib, "delayimp.lib")
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/AuthState/src/main.cpp b/plugins/AuthState/src/main.cpp index f5bfb2fc9a..e9615c53bb 100644 --- a/plugins/AuthState/src/main.cpp +++ b/plugins/AuthState/src/main.cpp @@ -22,7 +22,6 @@ static HGENMENU hUserMenu;
HANDLE hExtraIcon;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
Opts Options;
diff --git a/plugins/AutoRun/src/main.cpp b/plugins/AutoRun/src/main.cpp index c9e009c9aa..d517278dcc 100644 --- a/plugins/AutoRun/src/main.cpp +++ b/plugins/AutoRun/src/main.cpp @@ -1,7 +1,6 @@ #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
HKEY ROOT_KEY = HKEY_CURRENT_USER;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/AutoShutdown/src/main.cpp b/plugins/AutoShutdown/src/main.cpp index 7384f4c64d..d4b3c17b9f 100644 --- a/plugins/AutoShutdown/src/main.cpp +++ b/plugins/AutoShutdown/src/main.cpp @@ -22,7 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. CLIST_INTERFACE *pcli;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
IconItem iconList[] =
{
diff --git a/plugins/AvatarHistory/src/AvatarHistory.cpp b/plugins/AvatarHistory/src/AvatarHistory.cpp index 99bb47b2a3..a72edbe819 100644 --- a/plugins/AvatarHistory/src/AvatarHistory.cpp +++ b/plugins/AvatarHistory/src/AvatarHistory.cpp @@ -30,7 +30,6 @@ HANDLE hFolder = nullptr; wchar_t profilePath[MAX_PATH]; // database profile path (read at startup only)
wchar_t basedir[MAX_PATH];
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
MWindowList hAvatarWindowsList = nullptr;
int OptInit(WPARAM wParam, LPARAM lParam);
diff --git a/plugins/BASS_interface/src/Main.cpp b/plugins/BASS_interface/src/Main.cpp index 53df988ec1..1063418e29 100644 --- a/plugins/BASS_interface/src/Main.cpp +++ b/plugins/BASS_interface/src/Main.cpp @@ -31,7 +31,6 @@ FARPROC WINAPI delayHook(unsigned dliNotify, PDelayLoadInfo dli) extern "C" PfnDliHook __pfnDliNotifyHook2 = delayHook;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
CLIST_INTERFACE *pcli;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/BasicHistory/src/BasicHistory.cpp b/plugins/BasicHistory/src/BasicHistory.cpp index e462a13ed0..3c05365717 100644 --- a/plugins/BasicHistory/src/BasicHistory.cpp +++ b/plugins/BasicHistory/src/BasicHistory.cpp @@ -35,7 +35,6 @@ char* metaContactProto = nullptr; const IID IID_ITextDocument = { 0x8CC497C0, 0xA1DF, 0x11ce, {0x80, 0x98, 0x00, 0xAA, 0x00, 0x47, 0xBE, 0x5D} };
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/Boltun/src/boltun.cpp b/plugins/Boltun/src/boltun.cpp index 79326137b3..cdb55daf13 100644 --- a/plugins/Boltun/src/boltun.cpp +++ b/plugins/Boltun/src/boltun.cpp @@ -21,7 +21,6 @@ #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
TalkBot* bot = nullptr;
diff --git a/plugins/BossKeyPlus/src/BossKey.cpp b/plugins/BossKeyPlus/src/BossKey.cpp index 96c42f0dcd..e7dcc192db 100644 --- a/plugins/BossKeyPlus/src/BossKey.cpp +++ b/plugins/BossKeyPlus/src/BossKey.cpp @@ -36,7 +36,6 @@ wchar_t **oldStatusMsg; BYTE g_bOldSetting;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
CLIST_INTERFACE *pcli;
PFNDwmIsCompositionEnabled dwmIsCompositionEnabled;
diff --git a/plugins/BuddyExpectator/src/BuddyExpectator.cpp b/plugins/BuddyExpectator/src/BuddyExpectator.cpp index 57ba89e6d8..2ed7065ee9 100644 --- a/plugins/BuddyExpectator/src/BuddyExpectator.cpp +++ b/plugins/BuddyExpectator/src/BuddyExpectator.cpp @@ -23,7 +23,6 @@ CLIST_INTERFACE *pcli;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
DWORD timer_id = 0;
diff --git a/plugins/BuddyPounce/src/main.cpp b/plugins/BuddyPounce/src/main.cpp index 35e15a39dd..67ae0e2c85 100644 --- a/plugins/BuddyPounce/src/main.cpp +++ b/plugins/BuddyPounce/src/main.cpp @@ -1,7 +1,6 @@ #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
MWindowList hWindowList;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/CSList/src/cslist.cpp b/plugins/CSList/src/cslist.cpp index 5879ad8b8b..7aa007d4ec 100644 --- a/plugins/CSList/src/cslist.cpp +++ b/plugins/CSList/src/cslist.cpp @@ -29,7 +29,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. CLIST_INTERFACE *pcli; CMPlugin g_plugin; -int &hLangpack(g_plugin.m_hLang); static LIST<CSWindow> arWindows(3, HandleKeySortT); diff --git a/plugins/ChangeKeyboardLayout/src/main.cpp b/plugins/ChangeKeyboardLayout/src/main.cpp index cef6d7c9c0..5b2721ca0b 100644 --- a/plugins/ChangeKeyboardLayout/src/main.cpp +++ b/plugins/ChangeKeyboardLayout/src/main.cpp @@ -1,7 +1,6 @@ #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
LPTSTR ptszLayStrings[20];
HANDLE hChangeLayout, hGetLayoutOfText, hChangeTextLayout;
HICON hPopupIcon, hCopyIcon;
diff --git a/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp b/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp index 518bf49eb9..817e5e98fc 100644 --- a/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp +++ b/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp @@ -23,7 +23,6 @@ HANDLE g_hMainThread; HGENMENU g_hTogglePopupsMenuItem;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
COptPage *g_PreviewOptPage; // we need to show popup even for the NULL contact if g_PreviewOptPage is not NULL (used for popup preview)
BOOL bPopupExists = FALSE, bFingerprintExists = FALSE, bVariablesExists = FALSE;
diff --git a/plugins/Clist_blind/src/init.cpp b/plugins/Clist_blind/src/init.cpp index e92ff96471..caa109f895 100644 --- a/plugins/Clist_blind/src/init.cpp +++ b/plugins/Clist_blind/src/init.cpp @@ -25,7 +25,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
CLIST_INTERFACE *pcli = nullptr, coreCli;
HIMAGELIST himlCListClc = nullptr;
diff --git a/plugins/Clist_modern/src/init.cpp b/plugins/Clist_modern/src/init.cpp index 3a716b267a..012afcced7 100644 --- a/plugins/Clist_modern/src/init.cpp +++ b/plugins/Clist_modern/src/init.cpp @@ -37,7 +37,6 @@ HINSTANCE g_hMirApp = nullptr; CLIST_INTERFACE *pcli = nullptr;
CLIST_INTERFACE corecli = { 0 };
CLUIDATA g_CluiData = {};
-int &hLangpack(g_plugin.m_hLang);
static HRESULT SubclassClistInterface();
static HRESULT CreateHookableEvents();
diff --git a/plugins/Clist_nicer/src/init.cpp b/plugins/Clist_nicer/src/init.cpp index a0cf2188cf..25756269b4 100644 --- a/plugins/Clist_nicer/src/init.cpp +++ b/plugins/Clist_nicer/src/init.cpp @@ -30,8 +30,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. CMPlugin g_plugin;
CLIST_INTERFACE *pcli, coreCli;
-int &hLangpack(g_plugin.m_hLang);
-
#define DEFAULT_TB_VISIBILITY (1 | 2 | 4 | 8 | 16 | 32 | 64 | 8192)
extern HICON overlayicons[10];
diff --git a/plugins/Cln_skinedit/src/main.cpp b/plugins/Cln_skinedit/src/main.cpp index 235dc2ba08..0d48677c07 100644 --- a/plugins/Cln_skinedit/src/main.cpp +++ b/plugins/Cln_skinedit/src/main.cpp @@ -27,7 +27,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define ID_EXTBKSEPARATOR 40200 CMPlugin g_plugin; -int &hLangpack(g_plugin.m_hLang); StatusItems_t **StatusItems; ChangedSItems_t ChangedSItems = { 0 }; diff --git a/plugins/CloudFile/src/main.cpp b/plugins/CloudFile/src/main.cpp index f224e9a8da..728bfaf785 100644 --- a/plugins/CloudFile/src/main.cpp +++ b/plugins/CloudFile/src/main.cpp @@ -1,7 +1,6 @@ #include "stdafx.h" CMPlugin g_plugin; -int &hLangpack(g_plugin.m_hLang); PLUGININFOEX pluginInfoEx = { diff --git a/plugins/CmdLine/src/CmdLine.cpp b/plugins/CmdLine/src/CmdLine.cpp index c89840aa30..e5b72b48fe 100644 --- a/plugins/CmdLine/src/CmdLine.cpp +++ b/plugins/CmdLine/src/CmdLine.cpp @@ -21,7 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
CLIST_INTERFACE *pcli;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/ConnectionNotify/src/ConnectionNotify.cpp b/plugins/ConnectionNotify/src/ConnectionNotify.cpp index 53b51ee22a..99e73ab4a1 100644 --- a/plugins/ConnectionNotify/src/ConnectionNotify.cpp +++ b/plugins/ConnectionNotify/src/ConnectionNotify.cpp @@ -2,7 +2,6 @@ CMPlugin g_plugin;
CLIST_INTERFACE *pcli;
-int &hLangpack(g_plugin.m_hLang);
//PLUGINLINK *pluginLink=NULL;
HANDLE hOptInit = nullptr;
diff --git a/plugins/Console/src/init.cpp b/plugins/Console/src/init.cpp index 9d02828b0d..de6eb7745c 100644 --- a/plugins/Console/src/init.cpp +++ b/plugins/Console/src/init.cpp @@ -26,7 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. DWORD mirandaVer;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
static IconItem iconList[] =
{
diff --git a/plugins/ContactsPlus/src/main.cpp b/plugins/ContactsPlus/src/main.cpp index ebdb996a65..1afae1deae 100644 --- a/plugins/ContactsPlus/src/main.cpp +++ b/plugins/ContactsPlus/src/main.cpp @@ -26,7 +26,6 @@ CLIST_INTERFACE *pcli;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
int g_Utf8EventsSupported = TRUE;
diff --git a/plugins/CountryFlags/src/main.cpp b/plugins/CountryFlags/src/main.cpp index 70172ffab3..901b04e1be 100644 --- a/plugins/CountryFlags/src/main.cpp +++ b/plugins/CountryFlags/src/main.cpp @@ -23,7 +23,6 @@ int nCountriesCount; CountryListEntry *countries;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/CrashDumper/src/crshdmp.cpp b/plugins/CrashDumper/src/crshdmp.cpp index 726eae0d5a..d17f6d5c19 100644 --- a/plugins/CrashDumper/src/crshdmp.cpp +++ b/plugins/CrashDumper/src/crshdmp.cpp @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
DWORD mirandaVersion;
LCID packlcid;
diff --git a/plugins/CryptoPP/src/main.cpp b/plugins/CryptoPP/src/main.cpp index 38a2955387..e452e95812 100644 --- a/plugins/CryptoPP/src/main.cpp +++ b/plugins/CryptoPP/src/main.cpp @@ -1,7 +1,6 @@ #include "commonheaders.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
LPCSTR szModuleName = MODULENAME;
LPCSTR szVersionStr = MODULENAME" DLL (" __VERSION_STRING_DOTS ")";
diff --git a/plugins/CyrTranslit/src/main.cpp b/plugins/CyrTranslit/src/main.cpp index 249e2c4b3f..64bbf49b9e 100644 --- a/plugins/CyrTranslit/src/main.cpp +++ b/plugins/CyrTranslit/src/main.cpp @@ -20,7 +20,6 @@ #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/Db3x_mmap/src/init.cpp b/plugins/Db3x_mmap/src/init.cpp index 7f19693f93..d9e99121e8 100644 --- a/plugins/Db3x_mmap/src/init.cpp +++ b/plugins/Db3x_mmap/src/init.cpp @@ -23,7 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
LIST<CDb3Mmap> g_Dbs(1, HandleKeySortT);
diff --git a/plugins/DbEditorPP/src/main.cpp b/plugins/DbEditorPP/src/main.cpp index d06526d0c3..e402d435a2 100644 --- a/plugins/DbEditorPP/src/main.cpp +++ b/plugins/DbEditorPP/src/main.cpp @@ -7,7 +7,6 @@ bool g_bServiceMode = false; bool g_bUsePopups;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
BYTE nameOrder[NAMEORDERCOUNT];
HGENMENU hUserMenu;
MCONTACT hRestore;
diff --git a/plugins/Db_autobackups/src/main.cpp b/plugins/Db_autobackups/src/main.cpp index 219de0dfe1..5d33f45cb6 100644 --- a/plugins/Db_autobackups/src/main.cpp +++ b/plugins/Db_autobackups/src/main.cpp @@ -1,7 +1,6 @@ #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
HANDLE hFolder;
char g_szMirVer[100];
diff --git a/plugins/Dbx_mdbx/src/init.cpp b/plugins/Dbx_mdbx/src/init.cpp index a624510cb7..26d06a3276 100644 --- a/plugins/Dbx_mdbx/src/init.cpp +++ b/plugins/Dbx_mdbx/src/init.cpp @@ -25,7 +25,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. EXTERN_C void NTAPI tls_callback(PVOID module, DWORD reason, PVOID reserved);
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD reason, LPVOID reserved)
diff --git a/plugins/Exchange/src/exchange.cpp b/plugins/Exchange/src/exchange.cpp index 471ac4116f..2d88988355 100644 --- a/plugins/Exchange/src/exchange.cpp +++ b/plugins/Exchange/src/exchange.cpp @@ -24,7 +24,6 @@ HICON hiMailIcon = nullptr; HWND hEmailsDlg = nullptr;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
CExchangeServer exchangeServer;
diff --git a/plugins/FTPFileYM/src/ftpfile.cpp b/plugins/FTPFileYM/src/ftpfile.cpp index 7605c88443..0337afe09b 100644 --- a/plugins/FTPFileYM/src/ftpfile.cpp +++ b/plugins/FTPFileYM/src/ftpfile.cpp @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
HGENMENU hMenu, hMainMenu, hSubMenu[ServerList::FTP_COUNT], hMainSubMenu[ServerList::FTP_COUNT];
diff --git a/plugins/FavContacts/src/main.cpp b/plugins/FavContacts/src/main.cpp index e996ee3ed4..d56a9123a9 100644 --- a/plugins/FavContacts/src/main.cpp +++ b/plugins/FavContacts/src/main.cpp @@ -23,7 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "http_api.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
IconItem iconList[] =
{
diff --git a/plugins/FileAsMessage/src/main.cpp b/plugins/FileAsMessage/src/main.cpp index 4db8db2919..602bbcd4e9 100644 --- a/plugins/FileAsMessage/src/main.cpp +++ b/plugins/FileAsMessage/src/main.cpp @@ -3,7 +3,6 @@ CLIST_INTERFACE *pcli;
MWindowList hFileList;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
char *szServiceTitle = SERVICE_TITLE;
char *szServicePrefix = SERVICE_PREFIX;
diff --git a/plugins/FingerprintNG/src/main.cpp b/plugins/FingerprintNG/src/main.cpp index 1b21a40c1c..c63c17a91e 100644 --- a/plugins/FingerprintNG/src/main.cpp +++ b/plugins/FingerprintNG/src/main.cpp @@ -24,7 +24,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define LIB_USE 3
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
HANDLE hHeap = nullptr;
diff --git a/plugins/FloatingContacts/src/main.cpp b/plugins/FloatingContacts/src/main.cpp index 6c08fb4a50..3e443391b9 100644 --- a/plugins/FloatingContacts/src/main.cpp +++ b/plugins/FloatingContacts/src/main.cpp @@ -64,7 +64,6 @@ BOOL bIsCListShow; HGENMENU hMenuItemRemove, hMenuItemHideAll, hMainMenuItemHideAll;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
CLIST_INTERFACE *pcli;
/////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/Folders/src/folders.cpp b/plugins/Folders/src/folders.cpp index d5cb8c793f..5848e4a0fa 100644 --- a/plugins/Folders/src/folders.cpp +++ b/plugins/Folders/src/folders.cpp @@ -21,7 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
OBJLIST<CFolderItem> lstRegisteredFolders(10, PtrKeySortT);
diff --git a/plugins/GmailNotifier/src/main.cpp b/plugins/GmailNotifier/src/main.cpp index 67b15cdeb6..3dd34047a0 100644 --- a/plugins/GmailNotifier/src/main.cpp +++ b/plugins/GmailNotifier/src/main.cpp @@ -12,7 +12,6 @@ There is no warranty. CMPlugin g_plugin;
CLIST_INTERFACE *pcli;
-int &hLangpack(g_plugin.m_hLang);
UINT hTimer;
HANDLE hMirandaStarted, hOptionsInitial;
diff --git a/plugins/HTTPServer/src/main.cpp b/plugins/HTTPServer/src/main.cpp index 2e83b92b37..169ba58c2c 100644 --- a/plugins/HTTPServer/src/main.cpp +++ b/plugins/HTTPServer/src/main.cpp @@ -83,7 +83,6 @@ bool bLimitOnlyWhenOnline = true; bool bShutdownInProgress = false;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
extern HWND hwndStatsticView;
diff --git a/plugins/HistoryLinkListPlus/src/linklist.cpp b/plugins/HistoryLinkListPlus/src/linklist.cpp index 9414e2db1b..81e723d2d0 100644 --- a/plugins/HistoryLinkListPlus/src/linklist.cpp +++ b/plugins/HistoryLinkListPlus/src/linklist.cpp @@ -20,7 +20,6 @@ MWindowList hWindowList;
HCURSOR splitCursor;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/HistoryStats/src/main.cpp b/plugins/HistoryStats/src/main.cpp index a3deb926a3..b6c1674bf0 100644 --- a/plugins/HistoryStats/src/main.cpp +++ b/plugins/HistoryStats/src/main.cpp @@ -12,7 +12,6 @@ #include "dlgconfigure.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
static const int g_pluginFileListID = 2535;
diff --git a/plugins/HistorySweeperLight/src/main.cpp b/plugins/HistorySweeperLight/src/main.cpp index 7a40acb1a0..69a71c692f 100644 --- a/plugins/HistorySweeperLight/src/main.cpp +++ b/plugins/HistorySweeperLight/src/main.cpp @@ -22,7 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
LIST<void> g_hWindows(5, PtrKeySortT);
diff --git a/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp b/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp index 130bcb8e5d..42463ec40b 100644 --- a/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp +++ b/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp @@ -22,7 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 - 1307, USA. #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
HWND hDialogWnd = nullptr; // хэндл окна настроек, он глобально используется для вывода туда в реалтайме сканкодов клавы из хука
HHOOK hHook;
diff --git a/plugins/IEHistory/src/IEHistory.cpp b/plugins/IEHistory/src/IEHistory.cpp index 1814b98f70..5aa3035ac7 100644 --- a/plugins/IEHistory/src/IEHistory.cpp +++ b/plugins/IEHistory/src/IEHistory.cpp @@ -22,7 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "services.h" CMPlugin g_plugin; -int &hLangpack(g_plugin.m_hLang); HICON hIcon; HINSTANCE hInstance; diff --git a/plugins/IEView/src/ieview_main.cpp b/plugins/IEView/src/ieview_main.cpp index 4d7abdd404..8646896009 100644 --- a/plugins/IEView/src/ieview_main.cpp +++ b/plugins/IEView/src/ieview_main.cpp @@ -24,7 +24,6 @@ CLIST_INTERFACE *pcli; char *workingDirUtf8;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
IconItem iconList[] =
{
diff --git a/plugins/IgnoreState/src/main.cpp b/plugins/IgnoreState/src/main.cpp index 1a38a64d53..2f872b962a 100644 --- a/plugins/IgnoreState/src/main.cpp +++ b/plugins/IgnoreState/src/main.cpp @@ -25,7 +25,6 @@ HANDLE hHookExtraIconsRebuild = nullptr, hHookExtraIconsApply = nullptr, hContac HANDLE hPrebuildContactMenu = nullptr;
HANDLE hExtraIcon = nullptr;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
INT currentFilter = 0;
diff --git a/plugins/Import/src/main.cpp b/plugins/Import/src/main.cpp index 7591f998f7..b2277a0942 100644 --- a/plugins/Import/src/main.cpp +++ b/plugins/Import/src/main.cpp @@ -29,7 +29,6 @@ INT_PTR CALLBACK WizardDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lP bool g_bServiceMode = false, g_bSendQuit = false;
HWND hwndWizard, hwndAccMerge;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
// MirandaPluginInfoEx - returns an information about a plugin
diff --git a/plugins/KeyboardNotify/src/main.cpp b/plugins/KeyboardNotify/src/main.cpp index d4f96a5586..d580710d18 100644 --- a/plugins/KeyboardNotify/src/main.cpp +++ b/plugins/KeyboardNotify/src/main.cpp @@ -26,7 +26,6 @@ #define NCONVERS_BLINKID ((MEVENT)123456) //nconvers' random identifier used to flash an icon for "incoming message" on contact list
-int &hLangpack(g_plugin.m_hLang);
CLIST_INTERFACE *pcli;
CMPlugin g_plugin;
diff --git a/plugins/ListeningTo/src/main.cpp b/plugins/ListeningTo/src/main.cpp index 725777e24f..f176f5e7ed 100644 --- a/plugins/ListeningTo/src/main.cpp +++ b/plugins/ListeningTo/src/main.cpp @@ -19,7 +19,6 @@ Boston, MA 02111-1307, USA. #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/LotusNotify/src/LotusNotify.cpp b/plugins/LotusNotify/src/LotusNotify.cpp index b6f6495b94..64a49f810f 100644 --- a/plugins/LotusNotify/src/LotusNotify.cpp +++ b/plugins/LotusNotify/src/LotusNotify.cpp @@ -22,7 +22,6 @@ INT_PTR SetStatus(WPARAM wParam, LPARAM lParam); #define STATUS_COUNT 9
char MODULENAME[64] = {0}; //init at init_pluginname();
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
CLIST_INTERFACE *pcli;
diff --git a/plugins/MagneticWindows/src/MagneticWindows.cpp b/plugins/MagneticWindows/src/MagneticWindows.cpp index 02b5e47ef2..c7154443b2 100644 --- a/plugins/MagneticWindows/src/MagneticWindows.cpp +++ b/plugins/MagneticWindows/src/MagneticWindows.cpp @@ -13,7 +13,6 @@ /////////////////////////////////////////////////////////////////////////////////////////////////// CMPlugin g_plugin; -int &hLangpack(g_plugin.m_hLang); CLIST_INTERFACE *pcli; /////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp index 3dea87f5fc..a0cb9171f6 100644 --- a/plugins/MenuItemEx/src/main.cpp +++ b/plugins/MenuItemEx/src/main.cpp @@ -25,7 +25,6 @@ BOOL bPopupService = FALSE; PROTOACCOUNT **accs;
int protoCount;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
struct {
char *module;
diff --git a/plugins/MessageState/src/main.cpp b/plugins/MessageState/src/main.cpp index bff850831d..70da5ae189 100644 --- a/plugins/MessageState/src/main.cpp +++ b/plugins/MessageState/src/main.cpp @@ -1,6 +1,5 @@ #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/MirFox/src/MirandaInterface.cpp b/plugins/MirFox/src/MirandaInterface.cpp index 574de9ae11..cb7c84384f 100644 --- a/plugins/MirFox/src/MirandaInterface.cpp +++ b/plugins/MirFox/src/MirandaInterface.cpp @@ -6,7 +6,6 @@ CMPlugin g_plugin;
//Miranda - Langpack
-int &hLangpack(g_plugin.m_hLang);
//Miranda - HANDLE to hooked protocols ACK
HANDLE hProtoAck;
diff --git a/plugins/MirLua/Modules/m_toptoolbar/src/main.cpp b/plugins/MirLua/Modules/m_toptoolbar/src/main.cpp index 621467c431..b575527e70 100644 --- a/plugins/MirLua/Modules/m_toptoolbar/src/main.cpp +++ b/plugins/MirLua/Modules/m_toptoolbar/src/main.cpp @@ -1,8 +1,5 @@ #include "stdafx.h"
-int _hLang;
-int &hLangpack(_hLang);
-
static TTBButton* MakeTBButton(lua_State *L)
{
TTBButton *tbb = (TTBButton*)mir_calloc(sizeof(TTBButton));
@@ -67,7 +64,7 @@ static int lua_AddButton(lua_State *L) TTBButton *tbb = MakeTBButton(L);
- HANDLE res = TopToolbar_AddButton(tbb);
+ HANDLE res = (HANDLE)CallService(MS_TTB_ADDBUTTON, (WPARAM)tbb, 0);
if (res == (HANDLE)-1)
{
lua_pushnil(L);
diff --git a/plugins/MirLua/src/Modules/m_core.cpp b/plugins/MirLua/src/Modules/m_core.cpp index 747957dbcc..365b89bb43 100644 --- a/plugins/MirLua/src/Modules/m_core.cpp +++ b/plugins/MirLua/src/Modules/m_core.cpp @@ -222,7 +222,7 @@ static int core_Translate(lua_State *L) char *what = (char*)luaL_checkstring(L, 1); ptrW value(mir_utf8decodeW(what)); - lua_pushstring(L, T2Utf(TranslateW_LP(value, hLangpack))); + lua_pushstring(L, T2Utf(TranslateW_LP(value, g_plugin.m_hLang))); return 1; } diff --git a/plugins/MirLua/src/main.cpp b/plugins/MirLua/src/main.cpp index c37c75bf9b..244f4c9bc4 100644 --- a/plugins/MirLua/src/main.cpp +++ b/plugins/MirLua/src/main.cpp @@ -1,6 +1,5 @@ #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
HANDLE g_hCLibsFolder;
diff --git a/plugins/MirOTR/src/dllmain.cpp b/plugins/MirOTR/src/dllmain.cpp index 424a00a510..44942d8d0d 100644 --- a/plugins/MirOTR/src/dllmain.cpp +++ b/plugins/MirOTR/src/dllmain.cpp @@ -1,7 +1,6 @@ // dllmain.cpp : Definiert den Einstiegspunkt für die DLL-Anwendung.
#include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/MirandaG15/src/Miranda.cpp b/plugins/MirandaG15/src/Miranda.cpp index 9a7f434cec..e8b01288b7 100644 --- a/plugins/MirandaG15/src/Miranda.cpp +++ b/plugins/MirandaG15/src/Miranda.cpp @@ -60,7 +60,6 @@ bool g_bInitialized; CMPlugin g_plugin;
CLIST_INTERFACE *pcli;
-int &hLangpack(g_plugin.m_hLang);
// Function Prototypes
int Init(WPARAM, LPARAM);
diff --git a/plugins/MobileState/src/main.cpp b/plugins/MobileState/src/main.cpp index ca9aebb7d5..b15d928d8d 100644 --- a/plugins/MobileState/src/main.cpp +++ b/plugins/MobileState/src/main.cpp @@ -19,7 +19,6 @@ #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
HANDLE hExtraIcon = nullptr;
diff --git a/plugins/MsgPopup/src/main.cpp b/plugins/MsgPopup/src/main.cpp index dc2f5cfea3..5e81f88334 100644 --- a/plugins/MsgPopup/src/main.cpp +++ b/plugins/MsgPopup/src/main.cpp @@ -22,7 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
MSGBOXOPTIONS optionsDefault =
diff --git a/plugins/Msg_Export/src/main.cpp b/plugins/Msg_Export/src/main.cpp index c32bb2f880..0ba1b823c0 100755 --- a/plugins/Msg_Export/src/main.cpp +++ b/plugins/Msg_Export/src/main.cpp @@ -18,7 +18,6 @@ #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
MWindowList hInternalWindowList = nullptr;
diff --git a/plugins/MyDetails/src/mydetails.cpp b/plugins/MyDetails/src/mydetails.cpp index c19f70b1a0..02c2ded7cb 100644 --- a/plugins/MyDetails/src/mydetails.cpp +++ b/plugins/MyDetails/src/mydetails.cpp @@ -19,7 +19,6 @@ Boston, MA 02111-1307, USA. #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
CLIST_INTERFACE *pcli;
diff --git a/plugins/NewAwaySysMod/src/AwaySys.cpp b/plugins/NewAwaySysMod/src/AwaySys.cpp index 022598fbec..20d890d039 100644 --- a/plugins/NewAwaySysMod/src/AwaySys.cpp +++ b/plugins/NewAwaySysMod/src/AwaySys.cpp @@ -42,7 +42,6 @@ #include "version.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
HANDLE g_hTopToolbarbutton;
HGENMENU g_hToggleSOEMenuItem, g_hToggleSOEContactMenuItem, g_hContactMenuItem, g_hReadStatMenuItem;
diff --git a/plugins/NewEventNotify/src/main.cpp b/plugins/NewEventNotify/src/main.cpp index f8ad28b669..8b61db81f9 100644 --- a/plugins/NewEventNotify/src/main.cpp +++ b/plugins/NewEventNotify/src/main.cpp @@ -33,7 +33,6 @@ PLUGIN_OPTIONS pluginOptions; CLIST_INTERFACE *pcli;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/NewXstatusNotify/src/main.cpp b/plugins/NewXstatusNotify/src/main.cpp index 833cb39c98..1fc4cc76a4 100644 --- a/plugins/NewXstatusNotify/src/main.cpp +++ b/plugins/NewXstatusNotify/src/main.cpp @@ -23,7 +23,6 @@ CLIST_INTERFACE *pcli;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
LIST<DBEVENT> eventListXStatus(10, PtrKeySortT);
LIST<DBEVENT> eventListStatus(10, PtrKeySortT);
diff --git a/plugins/New_GPG/src/init.cpp b/plugins/New_GPG/src/init.cpp index 6bb1bdfa1b..d9041abdbc 100755 --- a/plugins/New_GPG/src/init.cpp +++ b/plugins/New_GPG/src/init.cpp @@ -17,7 +17,6 @@ #include "stdafx.h" //global variables -int &hLangpack(g_plugin.m_hLang); CMPlugin g_plugin; ///////////////////////////////////////////////////////////////////////////////////////// diff --git a/plugins/NewsAggregator/Src/NewsAggregator.cpp b/plugins/NewsAggregator/Src/NewsAggregator.cpp index 273236bd4d..df17a71708 100644 --- a/plugins/NewsAggregator/Src/NewsAggregator.cpp +++ b/plugins/NewsAggregator/Src/NewsAggregator.cpp @@ -19,7 +19,6 @@ Boston, MA 02111-1307, USA. #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
HANDLE hPrebuildMenuHook = nullptr;
CDlgBase *pAddFeedDialog = nullptr, *pImportDialog = nullptr, *pExportDialog = nullptr;
wchar_t tszRoot[MAX_PATH] = {0};
diff --git a/plugins/NoHistory/src/dllmain.cpp b/plugins/NoHistory/src/dllmain.cpp index 60e9591cf9..cc5081b270 100644 --- a/plugins/NoHistory/src/dllmain.cpp +++ b/plugins/NoHistory/src/dllmain.cpp @@ -1,6 +1,5 @@ #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
// add icon to srmm status icons
diff --git a/plugins/Non-IM Contact/src/main.cpp b/plugins/Non-IM Contact/src/main.cpp index 3736e2d196..75f4859ab3 100644 --- a/plugins/Non-IM Contact/src/main.cpp +++ b/plugins/Non-IM Contact/src/main.cpp @@ -7,7 +7,6 @@ #include "Version.h"
CLIST_INTERFACE *pcli;
-int &hLangpack(g_plugin.m_hLang);
INT_PTR doubleClick(WPARAM wParam, LPARAM)
{
diff --git a/plugins/NotesAndReminders/src/main.cpp b/plugins/NotesAndReminders/src/main.cpp index 4920585a30..55be584e93 100644 --- a/plugins/NotesAndReminders/src/main.cpp +++ b/plugins/NotesAndReminders/src/main.cpp @@ -3,7 +3,6 @@ CLIST_INTERFACE *pcli;
CMPlugin g_plugin;
HINSTANCE hmiranda = nullptr;
-int &hLangpack(g_plugin.m_hLang);
HANDLE hkOptInit = nullptr;
HANDLE hkTopToolbarInit = nullptr;
diff --git a/plugins/NotifyAnything/src/main.cpp b/plugins/NotifyAnything/src/main.cpp index 967a588c5b..1e2cc16ac0 100644 --- a/plugins/NotifyAnything/src/main.cpp +++ b/plugins/NotifyAnything/src/main.cpp @@ -25,7 +25,6 @@ std::wstring g_mirandaDir; mir_cs g_wsocklock;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/Nudge/src/main.cpp b/plugins/Nudge/src/main.cpp index 347887f5be..dd0790fcef 100644 --- a/plugins/Nudge/src/main.cpp +++ b/plugins/Nudge/src/main.cpp @@ -9,9 +9,8 @@ CNudgeElement DefaultNudge; CShake shake;
CNudge GlobalNudge;
-CLIST_INTERFACE *pcli;
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
+CLIST_INTERFACE *pcli;
static IconItem iconList[] =
{
diff --git a/plugins/OpenFolder/src/openFolder.cpp b/plugins/OpenFolder/src/openFolder.cpp index 0e59b6e0f1..e46dfe33bf 100644 --- a/plugins/OpenFolder/src/openFolder.cpp +++ b/plugins/OpenFolder/src/openFolder.cpp @@ -6,7 +6,6 @@ struct CMPlugin : public PLUGIN<CMPlugin> }
g_plugin;
-int &hLangpack(g_plugin.m_hLang);
HANDLE hButtonTopToolbar;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/OpenSSL/src/main.cpp b/plugins/OpenSSL/src/main.cpp index fb6e709aa9..9904c5eaf5 100644 --- a/plugins/OpenSSL/src/main.cpp +++ b/plugins/OpenSSL/src/main.cpp @@ -29,7 +29,6 @@ struct CMPlugin : public PLUGIN<CMPlugin> }
g_plugin;
-int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/PackUpdater/Src/PackUpdater.cpp b/plugins/PackUpdater/Src/PackUpdater.cpp index 102aa5b575..b03ca7051d 100644 --- a/plugins/PackUpdater/Src/PackUpdater.cpp +++ b/plugins/PackUpdater/Src/PackUpdater.cpp @@ -22,7 +22,6 @@ Boston, MA 02111-1307, USA. HANDLE hPackUpdaterFolder = nullptr;
wchar_t tszRoot[MAX_PATH] = { 0 };
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/PasteIt/src/PasteIt.cpp b/plugins/PasteIt/src/PasteIt.cpp index a18beb03ab..32412f2607 100644 --- a/plugins/PasteIt/src/PasteIt.cpp +++ b/plugins/PasteIt/src/PasteIt.cpp @@ -35,7 +35,6 @@ static IconItem iconList[] = };
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
CHAT_MANAGER *pci;
#define FROM_CLIPBOARD 10
diff --git a/plugins/Ping/src/ping.cpp b/plugins/Ping/src/ping.cpp index 981cd6ff66..9e8e962300 100644 --- a/plugins/Ping/src/ping.cpp +++ b/plugins/Ping/src/ping.cpp @@ -2,7 +2,6 @@ CLIST_INTERFACE *pcli;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
HNETLIBUSER hNetlibUser = nullptr;
HANDLE hFillListEvent = nullptr;
diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp index 1c2ce833f7..c72790d501 100644 --- a/plugins/PluginUpdater/src/PluginUpdater.cpp +++ b/plugins/PluginUpdater/src/PluginUpdater.cpp @@ -19,7 +19,6 @@ Boston, MA 02111-1307, USA. #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
wchar_t g_tszRoot[MAX_PATH] = {0}, g_tszTempPath[MAX_PATH];
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp index f2078009ff..588681a7ca 100644 --- a/plugins/Popup/src/main.cpp +++ b/plugins/Popup/src/main.cpp @@ -36,7 +36,6 @@ void UpgradeDb(); //===== Initializations =================================================================
static int OkToExit(WPARAM, LPARAM);
bool OptionLoaded = false;
-int &hLangpack(g_plugin.m_hLang);
CLIST_INTERFACE *pcli;
CMPlugin g_plugin;
diff --git a/plugins/ProfileManager/src/pmanagerEx.cpp b/plugins/ProfileManager/src/pmanagerEx.cpp index ba38acd8a4..d0913e6b3d 100644 --- a/plugins/ProfileManager/src/pmanagerEx.cpp +++ b/plugins/ProfileManager/src/pmanagerEx.cpp @@ -19,7 +19,6 @@ struct CMPlugin : public PLUGIN<CMPlugin> }
g_plugin;
-int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/QuickContacts/src/quickcontacts.cpp b/plugins/QuickContacts/src/quickcontacts.cpp index a46ce04aec..ff7124fe33 100644 --- a/plugins/QuickContacts/src/quickcontacts.cpp +++ b/plugins/QuickContacts/src/quickcontacts.cpp @@ -22,7 +22,6 @@ Boston, MA 02111-1307, USA. // Prototypes ///////////////////////////////////////////////////////////////////////////
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
HANDLE hModulesLoaded = nullptr;
diff --git a/plugins/QuickMessages/src/main.cpp b/plugins/QuickMessages/src/main.cpp index d7fc8a3951..a1f7f7db8b 100644 --- a/plugins/QuickMessages/src/main.cpp +++ b/plugins/QuickMessages/src/main.cpp @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
WNDPROC mainProc;
diff --git a/plugins/QuickReplies/src/quickreplies.cpp b/plugins/QuickReplies/src/quickreplies.cpp index 313a9d298c..8a6ab4d471 100644 --- a/plugins/QuickReplies/src/quickreplies.cpp +++ b/plugins/QuickReplies/src/quickreplies.cpp @@ -19,7 +19,6 @@ Boston, MA 02111-1307, USA. #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/Quotes/src/Forex.cpp b/plugins/Quotes/src/Forex.cpp index 74d8350ff4..af5efea065 100644 --- a/plugins/Quotes/src/Forex.cpp +++ b/plugins/Quotes/src/Forex.cpp @@ -4,7 +4,6 @@ #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
HANDLE g_hEventWorkThreadStop;
//int g_nStatus = ID_STATUS_OFFLINE;
diff --git a/plugins/Rate/src/main.cpp b/plugins/Rate/src/main.cpp index e5a1625564..e8a1b0a6f9 100644 --- a/plugins/Rate/src/main.cpp +++ b/plugins/Rate/src/main.cpp @@ -43,7 +43,6 @@ struct CMPlugin : public PLUGIN<CMPlugin> }
g_plugin;
-int &hLangpack(g_plugin.m_hLang);
///////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/RecentContacts/src/RecentContacts.cpp b/plugins/RecentContacts/src/RecentContacts.cpp index bcc97730bb..b95975282f 100644 --- a/plugins/RecentContacts/src/RecentContacts.cpp +++ b/plugins/RecentContacts/src/RecentContacts.cpp @@ -7,7 +7,6 @@ using namespace std; static const basic_string <char>::size_type npos = -1;
char *szProto;
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
CHAT_MANAGER *pci;
diff --git a/plugins/RemovePersonalSettings/src/rps.cpp b/plugins/RemovePersonalSettings/src/rps.cpp index 56d9b99ace..172130ffe1 100644 --- a/plugins/RemovePersonalSettings/src/rps.cpp +++ b/plugins/RemovePersonalSettings/src/rps.cpp @@ -34,7 +34,6 @@ struct CMPlugin : public PLUGIN<CMPlugin> }
g_plugin;
-int &hLangpack(g_plugin.m_hLang);
char gIniFile[MAX_PATH];
char gMirandaDir[MAX_PATH];
diff --git a/plugins/Restart/src/restart.cpp b/plugins/Restart/src/restart.cpp index 5217fbe478..c234d9b3ba 100644 --- a/plugins/Restart/src/restart.cpp +++ b/plugins/Restart/src/restart.cpp @@ -6,7 +6,6 @@ struct CMPlugin : public PLUGIN<CMPlugin> }
g_plugin;
-int &hLangpack(g_plugin.m_hLang);
HANDLE hRestartMe;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/SMS/src/main.cpp b/plugins/SMS/src/main.cpp index 335736c300..3485b24cdf 100644 --- a/plugins/SMS/src/main.cpp +++ b/plugins/SMS/src/main.cpp @@ -27,7 +27,6 @@ Enjoy the code and use it smartly! #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
CLIST_INTERFACE *pcli;
diff --git a/plugins/Scriver/src/srmm.cpp b/plugins/Scriver/src/srmm.cpp index e5e54d04de..60d66c6891 100644 --- a/plugins/Scriver/src/srmm.cpp +++ b/plugins/Scriver/src/srmm.cpp @@ -26,7 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. int OnLoadModule(void);
int OnUnloadModule(void);
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
CLIST_INTERFACE *pcli;
diff --git a/plugins/SecureIM/src/main.cpp b/plugins/SecureIM/src/main.cpp index 4f3c4719d9..853f4bfeb7 100644 --- a/plugins/SecureIM/src/main.cpp +++ b/plugins/SecureIM/src/main.cpp @@ -1,7 +1,6 @@ #include "commonheaders.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/SeenPlugin/src/main.cpp b/plugins/SeenPlugin/src/main.cpp index 2f32499d73..d7a0f50f44 100644 --- a/plugins/SeenPlugin/src/main.cpp +++ b/plugins/SeenPlugin/src/main.cpp @@ -24,7 +24,6 @@ HANDLE ehmissed = nullptr, ehuserinfo = nullptr, ehmissed_proto = nullptr; HANDLE g_hShutdownEvent;
MWindowList g_pUserInfo;
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/SendScreenshotPlus/src/Main.cpp b/plugins/SendScreenshotPlus/src/Main.cpp index a8a46e86fd..cec25e7247 100644 --- a/plugins/SendScreenshotPlus/src/Main.cpp +++ b/plugins/SendScreenshotPlus/src/Main.cpp @@ -30,7 +30,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // Prototypes /////////////////////////////////////////////////////////////////////////// -int &hLangpack(g_plugin.m_hLang); CMPlugin g_plugin; CHAT_MANAGER *pci; diff --git a/plugins/Sessions/Src/Main.cpp b/plugins/Sessions/Src/Main.cpp index f71d304ec8..37c41041c1 100644 --- a/plugins/Sessions/Src/Main.cpp +++ b/plugins/Sessions/Src/Main.cpp @@ -45,7 +45,6 @@ MCONTACT user_session_list[255] = { 0 }; MCONTACT session_list_recovered[255];
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
int OptionsInit(WPARAM, LPARAM);
diff --git a/plugins/ShellExt/src/main.cpp b/plugins/ShellExt/src/main.cpp index cf5c3fd9d8..4a83f542c5 100644 --- a/plugins/ShellExt/src/main.cpp +++ b/plugins/ShellExt/src/main.cpp @@ -1,7 +1,6 @@ #include "stdafx.h"
#include "shlcom.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
bool bIsVistaPlus;
diff --git a/plugins/SimpleAR/src/Main.cpp b/plugins/SimpleAR/src/Main.cpp index 0530f487dd..3a4b73927a 100644 --- a/plugins/SimpleAR/src/Main.cpp +++ b/plugins/SimpleAR/src/Main.cpp @@ -16,7 +16,6 @@ Copyright (C) 2000-2 Richard Hughes, Roland Rabien & Tristan Van de Vreede #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
CLIST_INTERFACE *pcli;
diff --git a/plugins/SimpleStatusMsg/src/main.cpp b/plugins/SimpleStatusMsg/src/main.cpp index e38795f6a5..99af369ed3 100644 --- a/plugins/SimpleStatusMsg/src/main.cpp +++ b/plugins/SimpleStatusMsg/src/main.cpp @@ -20,7 +20,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
PROTOACCOUNTS *accounts;
diff --git a/plugins/SkypeStatusChange/src/main.cpp b/plugins/SkypeStatusChange/src/main.cpp index 8b9b7ed87a..85b4f94f3d 100644 --- a/plugins/SkypeStatusChange/src/main.cpp +++ b/plugins/SkypeStatusChange/src/main.cpp @@ -4,7 +4,6 @@ #pragma comment(lib, "Comctl32.lib")
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
int SSC_OptInitialise(WPARAM wp, LPARAM lp);
diff --git a/plugins/SmileyAdd/src/main.cpp b/plugins/SmileyAdd/src/main.cpp index b4c44e9cf1..e8d89df74d 100644 --- a/plugins/SmileyAdd/src/main.cpp +++ b/plugins/SmileyAdd/src/main.cpp @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. HANDLE hEvent1;
HGENMENU hContactMenuItem;
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/Spamotron/src/spamotron.cpp b/plugins/Spamotron/src/spamotron.cpp index 84ebe85249..9a0f1d5f42 100644 --- a/plugins/Spamotron/src/spamotron.cpp +++ b/plugins/Spamotron/src/spamotron.cpp @@ -3,7 +3,6 @@ HANDLE hOptInitialize, hModulesLoaded, hDBContactAdded, hDBEventAdded, hDBEventFilterAdd;
time_t last_queue_check = 0;
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/SpellChecker/src/spellchecker.cpp b/plugins/SpellChecker/src/spellchecker.cpp index 7e1de83072..ea95b18c00 100644 --- a/plugins/SpellChecker/src/spellchecker.cpp +++ b/plugins/SpellChecker/src/spellchecker.cpp @@ -21,7 +21,6 @@ Boston, MA 02111-1307, USA. // Prototypes /////////////////////////////////////////////////////////////////////////// -int &hLangpack(g_plugin.m_hLang); CMPlugin g_plugin; HANDLE hDictionariesFolder = nullptr; diff --git a/plugins/SplashScreen/src/main.cpp b/plugins/SplashScreen/src/main.cpp index af02a6195d..e1744d32ef 100644 --- a/plugins/SplashScreen/src/main.cpp +++ b/plugins/SplashScreen/src/main.cpp @@ -19,7 +19,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
BOOL bstartup = true; // startup?
diff --git a/plugins/StartPosition/src/main.cpp b/plugins/StartPosition/src/main.cpp index c85a8fb04c..cb170b5ba5 100644 --- a/plugins/StartPosition/src/main.cpp +++ b/plugins/StartPosition/src/main.cpp @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/StartupSilence/src/main.cpp b/plugins/StartupSilence/src/main.cpp index 48b121d72c..2186670051 100644 --- a/plugins/StartupSilence/src/main.cpp +++ b/plugins/StartupSilence/src/main.cpp @@ -24,7 +24,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
HGENMENU hSSMenuToggleOnOff;
diff --git a/plugins/StatusChange/src/main.cpp b/plugins/StatusChange/src/main.cpp index d4d3050a7a..fdd3d1c8e1 100644 --- a/plugins/StatusChange/src/main.cpp +++ b/plugins/StatusChange/src/main.cpp @@ -5,7 +5,6 @@ HICON hIconMsg; HICON hIconUrl;
HICON hIconFile;
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/StatusManager/src/main.cpp b/plugins/StatusManager/src/main.cpp index 6d1749bbaf..ad49f23786 100644 --- a/plugins/StatusManager/src/main.cpp +++ b/plugins/StatusManager/src/main.cpp @@ -19,7 +19,6 @@ #include "stdafx.h" -int &hLangpack(g_plugin.m_hLang); CMPlugin g_plugin; CLIST_INTERFACE *pcli; diff --git a/plugins/StopSpamMod/src/init.cpp b/plugins/StopSpamMod/src/init.cpp index 95d55a27aa..72f5008f6e 100755 --- a/plugins/StopSpamMod/src/init.cpp +++ b/plugins/StopSpamMod/src/init.cpp @@ -18,7 +18,6 @@ #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
HANDLE hEventFilter = nullptr, hOptInitialise = nullptr, hSettingChanged = nullptr;
diff --git a/plugins/StopSpamPlus/src/stopspam.cpp b/plugins/StopSpamPlus/src/stopspam.cpp index 115afcb91b..48dc1669c4 100644 --- a/plugins/StopSpamPlus/src/stopspam.cpp +++ b/plugins/StopSpamPlus/src/stopspam.cpp @@ -1,6 +1,5 @@ #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
CLIST_INTERFACE *pcli;
diff --git a/plugins/TabSRMM/src/srmm.cpp b/plugins/TabSRMM/src/srmm.cpp index 9438b37502..481ad9bfc9 100644 --- a/plugins/TabSRMM/src/srmm.cpp +++ b/plugins/TabSRMM/src/srmm.cpp @@ -35,7 +35,6 @@ LOGFONT lfDefault = { 0 }; */ CMPlugin g_plugin; -int &hLangpack(g_plugin.m_hLang); CLIST_INTERFACE *pcli; ///////////////////////////////////////////////////////////////////////////////////////// diff --git a/plugins/TipperYM/src/tipper.cpp b/plugins/TipperYM/src/tipper.cpp index bbdf9fa6f5..9f2932d1b8 100644 --- a/plugins/TipperYM/src/tipper.cpp +++ b/plugins/TipperYM/src/tipper.cpp @@ -20,7 +20,6 @@ Boston, MA 02111-1307, USA. #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
CLIST_INTERFACE *pcli;
diff --git a/plugins/Toaster/src/main.cpp b/plugins/Toaster/src/main.cpp index c3d264691e..9884bddd58 100644 --- a/plugins/Toaster/src/main.cpp +++ b/plugins/Toaster/src/main.cpp @@ -1,6 +1,5 @@ #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/TooltipNotify/src/main.cpp b/plugins/TooltipNotify/src/main.cpp index 73c3f13cfb..c470162481 100644 --- a/plugins/TooltipNotify/src/main.cpp +++ b/plugins/TooltipNotify/src/main.cpp @@ -12,7 +12,6 @@ static HANDLE g_hProtoContactIsTyping = nullptr; // Main global object
static CTooltipNotify *g_pTooltipNotify = nullptr;
-int &hLangpack(g_plugin.m_hLang);
CLIST_INTERFACE *pcli;
CMPlugin g_plugin;
diff --git a/plugins/TopToolBar/src/main.cpp b/plugins/TopToolBar/src/main.cpp index ac0871ff93..67b234c089 100644 --- a/plugins/TopToolBar/src/main.cpp +++ b/plugins/TopToolBar/src/main.cpp @@ -1,7 +1,6 @@ #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
CLIST_INTERFACE *pcli;
diff --git a/plugins/TrafficCounter/src/TrafficCounter.cpp b/plugins/TrafficCounter/src/TrafficCounter.cpp index 2de4bda8dc..a270682bfd 100644 --- a/plugins/TrafficCounter/src/TrafficCounter.cpp +++ b/plugins/TrafficCounter/src/TrafficCounter.cpp @@ -30,7 +30,6 @@ HWND TrafficHwnd; CMPlugin g_plugin;
CLIST_INTERFACE *pcli;
-int &hLangpack(g_plugin.m_hLang);
BOOL bPopupExists = FALSE, bVariablesExists = FALSE, bTooltipExists = FALSE;
diff --git a/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp b/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp index 7a12fc2149..f9a48c7417 100644 --- a/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp +++ b/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp @@ -25,7 +25,6 @@ struct CMPlugin : public PLUGIN<CMPlugin> }
g_plugin;
-int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/UserGuide/src/main.cpp b/plugins/UserGuide/src/main.cpp index 3ef4ccba6f..f5be3ae646 100644 --- a/plugins/UserGuide/src/main.cpp +++ b/plugins/UserGuide/src/main.cpp @@ -1,7 +1,6 @@ #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/UserInfoEx/src/init.cpp b/plugins/UserInfoEx/src/init.cpp index 3dfc4a8182..458346c5d7 100644 --- a/plugins/UserInfoEx/src/init.cpp +++ b/plugins/UserInfoEx/src/init.cpp @@ -23,7 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. CLIST_INTERFACE *pcli;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
HMODULE hDwmApi;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/Variables/src/main.cpp b/plugins/Variables/src/main.cpp index eb4b163ab7..98455ac7bd 100644 --- a/plugins/Variables/src/main.cpp +++ b/plugins/Variables/src/main.cpp @@ -20,7 +20,6 @@ #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
// MirandaPluginInfoEx - returns the extended information about a plugin
diff --git a/plugins/Watrack_MPD/src/init.cpp b/plugins/Watrack_MPD/src/init.cpp index 588e8105aa..1eed92c54c 100755 --- a/plugins/Watrack_MPD/src/init.cpp +++ b/plugins/Watrack_MPD/src/init.cpp @@ -16,7 +16,6 @@ #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
BOOL bWatrackService = FALSE;
diff --git a/plugins/Weather/src/weather.cpp b/plugins/Weather/src/weather.cpp index e3877ebd95..469aaa8251 100644 --- a/plugins/Weather/src/weather.cpp +++ b/plugins/Weather/src/weather.cpp @@ -46,7 +46,6 @@ unsigned old_status; UINT_PTR timerId;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
CLIST_INTERFACE *pcli;
MYOPTIONS opt;
diff --git a/plugins/WebView/src/main.cpp b/plugins/WebView/src/main.cpp index 064d2760ae..a27cef9231 100644 --- a/plugins/WebView/src/main.cpp +++ b/plugins/WebView/src/main.cpp @@ -27,7 +27,6 @@ MWindowList hWindowList; HNETLIBUSER hNetlibUser;
HANDLE hHookDisplayDataAlert, hHookAlertPopup, hHookAlertWPopup, hHookErrorPopup, hHookAlertOSD;
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
static HMODULE hRichEd = nullptr;
diff --git a/plugins/WhenWasIt/src/WhenWasIt.cpp b/plugins/WhenWasIt/src/WhenWasIt.cpp index 5dfac1e9d1..fb5e124084 100644 --- a/plugins/WhenWasIt/src/WhenWasIt.cpp +++ b/plugins/WhenWasIt/src/WhenWasIt.cpp @@ -25,7 +25,6 @@ HWND hUpcomingDlg = nullptr; MWindowList hAddBirthdayWndsList = nullptr;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
CommonData commonData = { 0 };
diff --git a/plugins/WhoUsesMyFiles/src/wumfplug.cpp b/plugins/WhoUsesMyFiles/src/wumfplug.cpp index cfe8daf6b4..de08971df6 100644 --- a/plugins/WhoUsesMyFiles/src/wumfplug.cpp +++ b/plugins/WhoUsesMyFiles/src/wumfplug.cpp @@ -5,7 +5,6 @@ HGENMENU hMenuItem = nullptr; HWND hDlg;
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/WinterSpeak/src/main.cpp b/plugins/WinterSpeak/src/main.cpp index 58d1fff3e7..156518c5a5 100644 --- a/plugins/WinterSpeak/src/main.cpp +++ b/plugins/WinterSpeak/src/main.cpp @@ -1,7 +1,6 @@ #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
SpeakConfig *g_speak_config = nullptr;
SpeakAnnounce *g_speak_announce = nullptr;
diff --git a/plugins/XSoundNotify/src/xsn_main.cpp b/plugins/XSoundNotify/src/xsn_main.cpp index 4351344d05..55eccc0ee9 100644 --- a/plugins/XSoundNotify/src/xsn_main.cpp +++ b/plugins/XSoundNotify/src/xsn_main.cpp @@ -9,7 +9,6 @@ There is no warranty. #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
CHAT_MANAGER *pci;
diff --git a/plugins/YAMN/src/main.cpp b/plugins/YAMN/src/main.cpp index e9030e03e4..57d3cd29df 100644 --- a/plugins/YAMN/src/main.cpp +++ b/plugins/YAMN/src/main.cpp @@ -31,7 +31,6 @@ YAMN_VARIABLES YAMNVar; CMPlugin g_plugin; CLIST_INTERFACE *pcli; -int &hLangpack(g_plugin.m_hLang); HANDLE hNewMailHook; HANDLE NoWriterEV; diff --git a/plugins/YAPP/src/yapp.cpp b/plugins/YAPP/src/yapp.cpp index eee3e74e4a..0ce3638d47 100644 --- a/plugins/YAPP/src/yapp.cpp +++ b/plugins/YAPP/src/yapp.cpp @@ -19,7 +19,6 @@ HFONT hFontFirstLine = nullptr, hFontSecondLine = nullptr, hFontTime = nullptr; COLORREF colFirstLine = RGB(255, 0, 0), colSecondLine = 0, colTime = RGB(0, 0, 255), colBorder = RGB(0, 0, 0),
colSidebar = RGB(128, 128, 128), colTitleUnderline = GetSysColor(COLOR_3DSHADOW);
-int &hLangpack(g_plugin.m_hLang);
CLIST_INTERFACE *pcli;
// toptoolbar button
diff --git a/plugins/YARelay/src/main.cpp b/plugins/YARelay/src/main.cpp index 5717741911..220a60f11a 100644 --- a/plugins/YARelay/src/main.cpp +++ b/plugins/YARelay/src/main.cpp @@ -22,7 +22,6 @@ Features: #include "../../utils/mir_buffer.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
MCONTACT hForwardFrom, hForwardTo;
wchar_t tszForwardTemplate[MAXTEMPLATESIZE];
diff --git a/plugins/ZeroNotification/src/main.cpp b/plugins/ZeroNotification/src/main.cpp index d7d906b6be..e1cdb7ccf8 100644 --- a/plugins/ZeroNotification/src/main.cpp +++ b/plugins/ZeroNotification/src/main.cpp @@ -10,7 +10,6 @@ https://miranda-ng.org/ CMPlugin g_plugin;
HGENMENU noSoundMenu;
-int &hLangpack(g_plugin.m_hLang);
int OptionsInitialize(WPARAM, LPARAM);
diff --git a/plugins/ZeroSwitch/src/ZeroSwitch.cpp b/plugins/ZeroSwitch/src/ZeroSwitch.cpp index 19c124f8bc..34664f84be 100644 --- a/plugins/ZeroSwitch/src/ZeroSwitch.cpp +++ b/plugins/ZeroSwitch/src/ZeroSwitch.cpp @@ -11,7 +11,6 @@ g_plugin; HHOOK hHook;
HWND hDummyWnd = nullptr, hHelperWnd = nullptr, hMirandaWnd = nullptr;
-int &hLangpack(g_plugin.m_hLang);
CLIST_INTERFACE *pcli;
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/mTextControl/src/main.cpp b/plugins/mTextControl/src/main.cpp index 229ad05325..6be7c412f0 100644 --- a/plugins/mTextControl/src/main.cpp +++ b/plugins/mTextControl/src/main.cpp @@ -22,7 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h"
CMPlugin g_plugin;
-int &hLangpack(g_plugin.m_hLang);
HMODULE hMsfteditDll = nullptr;
diff --git a/plugins/wbOSD/src/main.cpp b/plugins/wbOSD/src/main.cpp index d608115dea..192f2654cb 100644 --- a/plugins/wbOSD/src/main.cpp +++ b/plugins/wbOSD/src/main.cpp @@ -9,7 +9,6 @@ Distributed under GNU's GPL 2 or later #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
HWND g_hWnd = nullptr;
|