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/ZeroNotification/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/ZeroNotification') diff --git a/plugins/ZeroNotification/main.cpp b/plugins/ZeroNotification/main.cpp index 8dbda00eb2..63e6ddf92c 100644 --- a/plugins/ZeroNotification/main.cpp +++ b/plugins/ZeroNotification/main.cpp @@ -14,7 +14,7 @@ http://www.miranda-im.org/ #include "res\resource.h" HINSTANCE hInst; -PLUGINLINK *pluginLink; + static HANDLE hEventSoundSettingChange, hEventStatusModeChange, hEventOptionsInitialize, hAckEvent, hSoundMenu; CLISTMENUITEM mi; HGENMENU noSoundMenu; @@ -241,9 +241,9 @@ static INT_PTR NoSoundMenuCommand(WPARAM wParam,LPARAM lParam) return 0; } -extern "C" __declspec(dllexport) int Load(PLUGINLINK *link) +extern "C" __declspec(dllexport) int Load(void) { - pluginLink = link; + mir_getLP(&pluginInfoEx); //The menu item - begin -- cgit v1.2.3