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/Folders/folders.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Folders') diff --git a/plugins/Folders/folders.cpp b/plugins/Folders/folders.cpp index 88fe12cf77..419e5f8a10 100644 --- a/plugins/Folders/folders.cpp +++ b/plugins/Folders/folders.cpp @@ -33,7 +33,7 @@ int hLangpack; CFoldersList &lstRegisteredFolders = CFoldersList(10); //the list -PLUGINLINK *pluginLink; + PLUGININFOEX pluginInfo = { sizeof(PLUGININFOEX), @@ -170,12 +170,12 @@ extern "C" __declspec(dllexport) const MUUID *MirandaPluginInterfaces() return interfaces; } -extern "C" int __declspec(dllexport) Load(PLUGINLINK *link) +extern "C" int __declspec(dllexport) Load(void) { #if _MSC_VER >= 1300 Log("%s", "Entering function " __FUNCTION__); #endif - pluginLink = link; + mir_getLP(&pluginInfo); Log("%s", "Creating service functions ..."); -- cgit v1.2.3