From cfd355e6c8035086c416c161a884242c1bb1800a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 20:18:38 +0300 Subject: no more need in hLangpack variable *YAHOO* --- protocols/Discord/src/main.cpp | 1 - protocols/Dummy/src/main.cpp | 1 - protocols/EmLanProto/src/amdproto.cpp | 1 - protocols/FacebookRM/src/main.cpp | 1 - protocols/Gadu-Gadu/src/gg.cpp | 1 - protocols/ICQCorp/src/corp.cpp | 1 - protocols/IRCG/src/main.cpp | 1 - protocols/IcqOscarJ/src/init.cpp | 2 -- protocols/JabberG/src/jabber.cpp | 1 - protocols/MRA/src/Mra.cpp | 1 - protocols/MSN/src/msn.cpp | 1 - protocols/MinecraftDynmap/src/main.cpp | 1 - protocols/Omegle/src/main.cpp | 1 - protocols/Sametime/src/sametime.cpp | 1 - protocols/SkypeWeb/src/main.cpp | 1 - protocols/Steam/src/main.cpp | 1 - protocols/Tox/src/main.cpp | 1 - protocols/Twitter/src/main.cpp | 1 - protocols/VKontakte/src/main.cpp | 1 - 19 files changed, 20 deletions(-) (limited to 'protocols') diff --git a/protocols/Discord/src/main.cpp b/protocols/Discord/src/main.cpp index a39b85a903..0b8404bf3d 100644 --- a/protocols/Discord/src/main.cpp +++ b/protocols/Discord/src/main.cpp @@ -18,7 +18,6 @@ along with this program. If not, see . #include "stdafx.h" CHAT_MANAGER *pci; -int &hLangpack(g_plugin.m_hLang); HWND g_hwndHeartbeat; PLUGININFOEX pluginInfoEx = { diff --git a/protocols/Dummy/src/main.cpp b/protocols/Dummy/src/main.cpp index dccc1d4b41..2c0203959b 100644 --- a/protocols/Dummy/src/main.cpp +++ b/protocols/Dummy/src/main.cpp @@ -19,7 +19,6 @@ along with this program. If not, see . #include "version.h" CMPlugin g_plugin; -int &hLangpack(g_plugin.m_hLang); CLIST_INTERFACE *pcli; PLUGININFOEX pluginInfoEx = diff --git a/protocols/EmLanProto/src/amdproto.cpp b/protocols/EmLanProto/src/amdproto.cpp index e676d7a6e5..09893f2b12 100644 --- a/protocols/EmLanProto/src/amdproto.cpp +++ b/protocols/EmLanProto/src/amdproto.cpp @@ -9,7 +9,6 @@ CMPlugin g_plugin; CMLan* g_lan = nullptr; -int &hLangpack(g_plugin.m_hLang); bool g_InitOptions = false; #ifdef VERBOSE diff --git a/protocols/FacebookRM/src/main.cpp b/protocols/FacebookRM/src/main.cpp index 19feab0f52..615b398450 100644 --- a/protocols/FacebookRM/src/main.cpp +++ b/protocols/FacebookRM/src/main.cpp @@ -23,7 +23,6 @@ along with this program. If not, see . #include "stdafx.h" CMPlugin g_plugin; -int &hLangpack(g_plugin.m_hLang); std::string g_strUserAgent; DWORD g_mirandaVersion; diff --git a/protocols/Gadu-Gadu/src/gg.cpp b/protocols/Gadu-Gadu/src/gg.cpp index 943cd589f2..8c41562922 100644 --- a/protocols/Gadu-Gadu/src/gg.cpp +++ b/protocols/Gadu-Gadu/src/gg.cpp @@ -26,7 +26,6 @@ // Other variables SSL_API sslApi; CMPlugin g_plugin; -int &hLangpack(g_plugin.m_hLang); CLIST_INTERFACE *pcli; static unsigned long crc_table[256]; diff --git a/protocols/ICQCorp/src/corp.cpp b/protocols/ICQCorp/src/corp.cpp index 146254bab6..be1339f51b 100644 --- a/protocols/ICQCorp/src/corp.cpp +++ b/protocols/ICQCorp/src/corp.cpp @@ -21,7 +21,6 @@ /////////////////////////////////////////////////////////////////////////////// -int &hLangpack(g_plugin.m_hLang); char protoName[64]; CMPlugin g_plugin; HNETLIBUSER hNetlibUser; diff --git a/protocols/IRCG/src/main.cpp b/protocols/IRCG/src/main.cpp index 9f7dabab1b..d8c7760439 100644 --- a/protocols/IRCG/src/main.cpp +++ b/protocols/IRCG/src/main.cpp @@ -23,7 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "version.h" CMPlugin g_plugin; -int &hLangpack(g_plugin.m_hLang); CHAT_MANAGER *pci; CLIST_INTERFACE *pcli; diff --git a/protocols/IcqOscarJ/src/init.cpp b/protocols/IcqOscarJ/src/init.cpp index faf6591004..03458a6e91 100644 --- a/protocols/IcqOscarJ/src/init.cpp +++ b/protocols/IcqOscarJ/src/init.cpp @@ -28,8 +28,6 @@ #include "m_extraicons.h" #include "m_icolib.h" -int &hLangpack(g_plugin.m_hLang); - BOOL bPopupService = FALSE; HANDLE hExtraXStatus; diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp index ff1d99b2f0..be35a6b994 100755 --- a/protocols/JabberG/src/jabber.cpp +++ b/protocols/JabberG/src/jabber.cpp @@ -38,7 +38,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. HMODULE hMsftedit; CMPlugin g_plugin; -int &hLangpack(g_plugin.m_hLang); CHAT_MANAGER *pci; int g_cbCountries; diff --git a/protocols/MRA/src/Mra.cpp b/protocols/MRA/src/Mra.cpp index d8aa2b612d..aafa5594be 100644 --- a/protocols/MRA/src/Mra.cpp +++ b/protocols/MRA/src/Mra.cpp @@ -1,7 +1,6 @@ #include "stdafx.h" CMPlugin g_plugin; -int &hLangpack(g_plugin.m_hLang); CLIST_INTERFACE *pcli; HMODULE g_hDLLXStatusIcons; diff --git a/protocols/MSN/src/msn.cpp b/protocols/MSN/src/msn.cpp index 44eea3c4c7..2d0ebe2729 100644 --- a/protocols/MSN/src/msn.cpp +++ b/protocols/MSN/src/msn.cpp @@ -26,7 +26,6 @@ along with this program. If not, see . CMPlugin g_plugin; CLIST_INTERFACE *pcli; -int &hLangpack(g_plugin.m_hLang); ///////////////////////////////////////////////////////////////////////////////////////// // Initialization routines diff --git a/protocols/MinecraftDynmap/src/main.cpp b/protocols/MinecraftDynmap/src/main.cpp index 7d29f87791..46b8ec8e9d 100644 --- a/protocols/MinecraftDynmap/src/main.cpp +++ b/protocols/MinecraftDynmap/src/main.cpp @@ -24,7 +24,6 @@ along with this program. If not, see . CMPlugin g_plugin; CLIST_INTERFACE* pcli; -int &hLangpack(g_plugin.m_hLang); std::string g_strUserAgent; diff --git a/protocols/Omegle/src/main.cpp b/protocols/Omegle/src/main.cpp index 4c1ecda403..4e3a855042 100644 --- a/protocols/Omegle/src/main.cpp +++ b/protocols/Omegle/src/main.cpp @@ -26,7 +26,6 @@ along with this program. If not, see . CMPlugin g_plugin; CLIST_INTERFACE* pcli; -int &hLangpack(g_plugin.m_hLang); std::string g_strUserAgent; DWORD g_mirandaVersion; diff --git a/protocols/Sametime/src/sametime.cpp b/protocols/Sametime/src/sametime.cpp index 74c1e2ad0d..9f13661814 100644 --- a/protocols/Sametime/src/sametime.cpp +++ b/protocols/Sametime/src/sametime.cpp @@ -4,7 +4,6 @@ // plugin stuff -int &hLangpack(g_plugin.m_hLang); PLUGININFOEX pluginInfoEx = { diff --git a/protocols/SkypeWeb/src/main.cpp b/protocols/SkypeWeb/src/main.cpp index 82c0855d93..3ad43bdb3b 100644 --- a/protocols/SkypeWeb/src/main.cpp +++ b/protocols/SkypeWeb/src/main.cpp @@ -20,7 +20,6 @@ along with this program. If not, see . CMPlugin g_plugin; CHAT_MANAGER *pci; CLIST_INTERFACE *pcli; -int &hLangpack(g_plugin.m_hLang); char g_szMirVer[100]; HANDLE g_hCallEvent; diff --git a/protocols/Steam/src/main.cpp b/protocols/Steam/src/main.cpp index b50e29b9c4..d3800ab357 100644 --- a/protocols/Steam/src/main.cpp +++ b/protocols/Steam/src/main.cpp @@ -1,7 +1,6 @@ #include "stdafx.h" CMPlugin g_plugin; -int &hLangpack(g_plugin.m_hLang); HANDLE hExtraXStatus; diff --git a/protocols/Tox/src/main.cpp b/protocols/Tox/src/main.cpp index 15faeb0c3f..b96745c315 100644 --- a/protocols/Tox/src/main.cpp +++ b/protocols/Tox/src/main.cpp @@ -3,7 +3,6 @@ CMPlugin g_plugin; CHAT_MANAGER *pci; CLIST_INTERFACE *pcli; -int &hLangpack(g_plugin.m_hLang); HANDLE hProfileFolderPath; diff --git a/protocols/Twitter/src/main.cpp b/protocols/Twitter/src/main.cpp index 375bbcba47..dd2a9743d3 100644 --- a/protocols/Twitter/src/main.cpp +++ b/protocols/Twitter/src/main.cpp @@ -24,7 +24,6 @@ along with this program. If not, see . CMPlugin g_plugin; CLIST_INTERFACE *pcli; -int &hLangpack(g_plugin.m_hLang); ///////////////////////////////////////////////////////////////////////////////////////// diff --git a/protocols/VKontakte/src/main.cpp b/protocols/VKontakte/src/main.cpp index cad52cda7e..89e02ff532 100644 --- a/protocols/VKontakte/src/main.cpp +++ b/protocols/VKontakte/src/main.cpp @@ -20,7 +20,6 @@ along with this program. If not, see . CMPlugin g_plugin; CLIST_INTERFACE *pcli; -int &hLangpack(g_plugin.m_hLang); ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3