summaryrefslogtreecommitdiff
path: root/plugins/ListeningTo
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-27 13:58:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-27 13:58:25 +0000
commit81e8caf42867b65677efe2bffaa52ecff7303c3a (patch)
tree846f06ef51787c58205cd87546976bda29556680 /plugins/ListeningTo
parentd9da7f147fbe91d2e70721de96907ae1d273b591 (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/ListeningTo')
-rw-r--r--plugins/ListeningTo/commons.h1
-rw-r--r--plugins/ListeningTo/listeningto.cpp6
2 files changed, 3 insertions, 4 deletions
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<HANDLE> hHooks;
static std::vector<HANDLE> 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")