summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mmap_SA/Import_SA/main.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/Dbx_mmap_SA/Import_SA/main.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/Dbx_mmap_SA/Import_SA/main.cpp')
-rw-r--r--plugins/Dbx_mmap_SA/Import_SA/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Dbx_mmap_SA/Import_SA/main.cpp b/plugins/Dbx_mmap_SA/Import_SA/main.cpp
index ed83861e0f..c86d29f6c6 100644
--- a/plugins/Dbx_mmap_SA/Import_SA/main.cpp
+++ b/plugins/Dbx_mmap_SA/Import_SA/main.cpp
@@ -44,7 +44,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;
PLUGININFOEX pluginInfo = {
@@ -126,9 +126,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);