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/Import/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Import') diff --git a/plugins/Import/main.cpp b/plugins/Import/main.cpp index 9f82706367..4818007477 100644 --- a/plugins/Import/main.cpp +++ b/plugins/Import/main.cpp @@ -46,7 +46,7 @@ static HANDLE hImportService = NULL; INT_PTR CALLBACK WizardDlgProc(HWND hdlg,UINT message,WPARAM wParam,LPARAM lParam); HINSTANCE hInst; -PLUGINLINK *pluginLink; + static HWND hwndWizard = NULL; int hLangpack; @@ -129,9 +129,9 @@ static int OnExit(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( &pluginInfo ); hImportService = CreateServiceFunction(IMPORT_SERVICE, ImportCommand); -- cgit v1.2.3