diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-27 13:58:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-27 13:58:25 +0000 |
commit | 81e8caf42867b65677efe2bffaa52ecff7303c3a (patch) | |
tree | 846f06ef51787c58205cd87546976bda29556680 /plugins/MirOTR | |
parent | d9da7f147fbe91d2e70721de96907ae1d273b591 (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/MirOTR')
-rw-r--r-- | plugins/MirOTR/MirOTR/dllmain.cpp | 6 | ||||
-rw-r--r-- | plugins/MirOTR/MirOTR/dllmain.h | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/plugins/MirOTR/MirOTR/dllmain.cpp b/plugins/MirOTR/MirOTR/dllmain.cpp index dae2e0b959..0e7e818194 100644 --- a/plugins/MirOTR/MirOTR/dllmain.cpp +++ b/plugins/MirOTR/MirOTR/dllmain.cpp @@ -7,7 +7,7 @@ HANDLE hEventWindow;
HINSTANCE hInst;
-PLUGINLINK *pluginLink;
+
int hLangpack;
char* g_metaproto;
@@ -129,10 +129,10 @@ int NewContact(WPARAM wParam, LPARAM lParam) { return 0;
}
-DLLFUNC int Load(PLUGINLINK *link)
+DLLFUNC int Load(void)
{
DEBUGOUT_T("LOAD MIROTR")
- pluginLink=link;
+
mir_getLP( &pluginInfo );
/* for timezones
mir_getTMI(&tmi); */
diff --git a/plugins/MirOTR/MirOTR/dllmain.h b/plugins/MirOTR/MirOTR/dllmain.h index 7a99b0580a..b2346859f6 100644 --- a/plugins/MirOTR/MirOTR/dllmain.h +++ b/plugins/MirOTR/MirOTR/dllmain.h @@ -6,4 +6,3 @@ #define DLLFUNC extern "C" __declspec(dllexport)
extern HINSTANCE hInst;
-extern PLUGINLINK *pluginLink;
\ No newline at end of file |