diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-27 13:58:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-27 13:58:25 +0000 |
commit | 81e8caf42867b65677efe2bffaa52ecff7303c3a (patch) | |
tree | 846f06ef51787c58205cd87546976bda29556680 /plugins/ExtraIcons | |
parent | d9da7f147fbe91d2e70721de96907ae1d273b591 (diff) |
no more pluginLink in load()
git-svn-id: http://svn.miranda-ng.org/main/trunk@652 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExtraIcons')
-rw-r--r-- | plugins/ExtraIcons/commons.h | 1 | ||||
-rw-r--r-- | plugins/ExtraIcons/extraicons.cpp | 6 |
2 files changed, 3 insertions, 4 deletions
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<HANDLE> 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);
|