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/ProfileManager/pmanagerEx.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/ProfileManager') diff --git a/plugins/ProfileManager/pmanagerEx.cpp b/plugins/ProfileManager/pmanagerEx.cpp index 65b6b055cd..627b026b2d 100644 --- a/plugins/ProfileManager/pmanagerEx.cpp +++ b/plugins/ProfileManager/pmanagerEx.cpp @@ -20,7 +20,7 @@ There is no warranty. #include "resource.h" HINSTANCE hInst; -PLUGINLINK *pluginLink; + TCHAR fn[MAX_PATH]; TCHAR lmn[MAX_PATH]; TCHAR* pathn; @@ -71,10 +71,10 @@ static INT_PTR LoadPM(WPARAM wParam, LPARAM lParam) return 0; } -extern "C" __declspec(dllexport) int Load(PLUGINLINK *link) +extern "C" __declspec(dllexport) int Load(void) { CLISTMENUITEM mi; - pluginLink = link; + mir_getLP(&pluginInfo); hLoadPM = CreateServiceFunction("Database/LoadPM", LoadPM); -- cgit v1.2.3