summaryrefslogtreecommitdiff
path: root/plugins/Clist_classic/init.cpp
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/Clist_classic/init.cpp
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/Clist_classic/init.cpp')
-rw-r--r--plugins/Clist_classic/init.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/Clist_classic/init.cpp b/plugins/Clist_classic/init.cpp
index 3d97b81e6f..5af2c3b339 100644
--- a/plugins/Clist_classic/init.cpp
+++ b/plugins/Clist_classic/init.cpp
@@ -24,7 +24,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "commonheaders.h"
HINSTANCE g_hInst = 0;
-PLUGINLINK *pluginLink;
CLIST_INTERFACE* pcli = NULL;
HIMAGELIST himlCListClc = NULL;
int hLangpack;
@@ -136,11 +135,8 @@ static INT_PTR GetStatusMode(WPARAM wParam, LPARAM lParam)
/////////////////////////////////////////////////////////////////////////////////////////
// main clist initialization routine
-extern "C" __declspec(dllexport) int CListInitialise(PLUGINLINK * link)
+extern "C" __declspec(dllexport) int CListInitialise()
{
- pluginLink = link;
-
- // get the internal malloc/free()
mir_getLP( &pluginInfo );
pcli = ( CLIST_INTERFACE* )CallService(MS_CLIST_RETRIEVE_INTERFACE, 0, (LPARAM)g_hInst);
@@ -170,7 +166,7 @@ LBL_Error:
/////////////////////////////////////////////////////////////////////////////////////////
// a plugin loader aware of CList exports will never call this.
-extern "C" __declspec(dllexport) int Load(PLUGINLINK * link)
+extern "C" __declspec(dllexport) int Load(void)
{
return 1;
}