From 81e8caf42867b65677efe2bffaa52ecff7303c3a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Jun 2012 13:58:25 +0000 Subject: no more pluginLink in load() git-svn-id: http://svn.miranda-ng.org/main/trunk@652 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ExtraIcons/commons.h | 1 - plugins/ExtraIcons/extraicons.cpp | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'plugins/ExtraIcons') diff --git a/plugins/ExtraIcons/commons.h b/plugins/ExtraIcons/commons.h index 84b43008dd..ff854f53dc 100644 --- a/plugins/ExtraIcons/commons.h +++ b/plugins/ExtraIcons/commons.h @@ -78,7 +78,6 @@ using namespace std; // Global Variables extern HINSTANCE hInst; -extern PLUGINLINK *pluginLink; #define MAX_REGS(_A_) ( sizeof(_A_) / sizeof(_A_[0])) #define FREE(_m_) if (_m_ != NULL) { free(_m_); _m_ = NULL; } diff --git a/plugins/ExtraIcons/extraicons.cpp b/plugins/ExtraIcons/extraicons.cpp index 9eaf35b3d3..dccfa023dc 100644 --- a/plugins/ExtraIcons/extraicons.cpp +++ b/plugins/ExtraIcons/extraicons.cpp @@ -36,7 +36,7 @@ PLUGININFOEX pluginInfo = { }; HINSTANCE hInst; -PLUGINLINK *pluginLink; + int hLangpack; vector hHooks; @@ -81,9 +81,9 @@ extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) return interfaces; } -extern "C" int __declspec(dllexport) Load(PLUGINLINK *link) +extern "C" int __declspec(dllexport) Load(void) { - pluginLink = link; + mir_getLP(&pluginInfo); DWORD ret = CallService(MS_CLUI_GETCAPS, CLUICAPS_FLAGS2, 0); -- cgit v1.2.3