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/SecureIM | |
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/SecureIM')
-rw-r--r-- | plugins/SecureIM/commonheaders.h | 2 | ||||
-rw-r--r-- | plugins/SecureIM/main.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SecureIM/commonheaders.h b/plugins/SecureIM/commonheaders.h index 28d2c19354..c654b9e2b6 100644 --- a/plugins/SecureIM/commonheaders.h +++ b/plugins/SecureIM/commonheaders.h @@ -143,7 +143,7 @@ extern MUUID interfaces[]; extern "C" {
- DLLEXPORT int Load(PLUGINLINK *);
+ DLLEXPORT int Load(void);
DLLEXPORT PLUGININFOEX *MirandaPluginInfoEx(DWORD);
DLLEXPORT MUUID* MirandaPluginInterfaces(void);
DLLEXPORT int Unload();
diff --git a/plugins/SecureIM/main.cpp b/plugins/SecureIM/main.cpp index 461d903bd0..7fe9483c11 100644 --- a/plugins/SecureIM/main.cpp +++ b/plugins/SecureIM/main.cpp @@ -1,6 +1,6 @@ #include "commonheaders.h"
-PLUGINLINK *pluginLink;
+
int hLangpack = 0;
extern "C" BOOL APIENTRY DllMain(HINSTANCE hInst, DWORD dwReason, LPVOID) {
@@ -79,9 +79,9 @@ HANDLE AddSubItem(HANDLE rootid,LPCSTR name,int pos,int poppos,LPCSTR service,WP }
-int __cdecl Load(PLUGINLINK *link) {
+int __cdecl Load(void) {
+
- pluginLink = link;
DisableThreadLibraryCalls(g_hInst);
InitializeCriticalSection(&localQueueMutex);
|