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/ListeningTo/commons.h | 1 - plugins/ListeningTo/listeningto.cpp | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'plugins/ListeningTo') diff --git a/plugins/ListeningTo/commons.h b/plugins/ListeningTo/commons.h index d0a9fc5b0c..56fa318a0e 100644 --- a/plugins/ListeningTo/commons.h +++ b/plugins/ListeningTo/commons.h @@ -80,7 +80,6 @@ Boston, MA 02111-1307, USA. // Global Variables extern HINSTANCE hInst; -extern PLUGINLINK *pluginLink; extern BOOL loaded; diff --git a/plugins/ListeningTo/listeningto.cpp b/plugins/ListeningTo/listeningto.cpp index a6609486ee..2ce9c8ecc5 100644 --- a/plugins/ListeningTo/listeningto.cpp +++ b/plugins/ListeningTo/listeningto.cpp @@ -52,7 +52,7 @@ PLUGININFOEX pluginInfo={ HINSTANCE hInst; -PLUGINLINK *pluginLink; + static std::vector hHooks; static std::vector hServices; @@ -130,9 +130,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); CHECK_VERSION("Listening To") -- cgit v1.2.3