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 /protocols/Gadu-Gadu | |
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 'protocols/Gadu-Gadu')
-rw-r--r-- | protocols/Gadu-Gadu/gg.c | 6 | ||||
-rw-r--r-- | protocols/Gadu-Gadu/gg.h | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/protocols/Gadu-Gadu/gg.c b/protocols/Gadu-Gadu/gg.c index 778f62eeb1..07e1e0b05b 100644 --- a/protocols/Gadu-Gadu/gg.c +++ b/protocols/Gadu-Gadu/gg.c @@ -42,7 +42,7 @@ static const MUUID interfaces[] = {MIID_PROTOCOL, MIID_LAST}; // Other variables
HINSTANCE hInstance;
-PLUGINLINK *pluginLink;
+
XML_API xi;
SSL_API si;
CLIST_INTERFACE *pcli;
@@ -562,12 +562,12 @@ static int gg_proto_uninit(PROTO_INTERFACE *proto) //////////////////////////////////////////////////////////
// When plugin is loaded
-int __declspec(dllexport) Load(PLUGINLINK * link)
+int __declspec(dllexport) Load(void)
{
WSADATA wsaData;
PROTOCOLDESCRIPTOR pd;
- pluginLink = link;
+
mir_getXI(&xi);
mir_getLP(&pluginInfo);
diff --git a/protocols/Gadu-Gadu/gg.h b/protocols/Gadu-Gadu/gg.h index 79abb3190e..7f247c553f 100644 --- a/protocols/Gadu-Gadu/gg.h +++ b/protocols/Gadu-Gadu/gg.h @@ -354,7 +354,6 @@ typedef void (__cdecl GGThreadFunc)(void*, void*); /////////////////////////////////////////////////
extern HINSTANCE hInstance;
-extern PLUGINLINK *pluginLink;
extern CLIST_INTERFACE *pcli;
extern list_t g_Instances;
|