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/MetaContacts | |
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/MetaContacts')
-rw-r--r-- | plugins/MetaContacts/meta_main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/MetaContacts/meta_main.cpp b/plugins/MetaContacts/meta_main.cpp index d39555c9aa..4c7abebee2 100644 --- a/plugins/MetaContacts/meta_main.cpp +++ b/plugins/MetaContacts/meta_main.cpp @@ -106,7 +106,6 @@ PLUGININFOEX pluginInfo={ };
HINSTANCE hInstance; //!< Global reference to the application
-PLUGINLINK *pluginLink; //!< Link between Miranda and this plugin
/** Called by Miranda to get the information associated to this plugin.
* It only returns the PLUGININFO structure, without any test on the version
@@ -154,12 +153,12 @@ BOOL IsUnicodeOS() /** Initializes the services provided and the link to those needed
* Called when the plugin is loaded into Miranda
*/
-extern "C" __declspec(dllexport) int Load(PLUGINLINK *link)
+extern "C" __declspec(dllexport) int Load(void)
{
PROTOCOLDESCRIPTOR pd;
DBVARIANT dbv;
- pluginLink=link;
+
mir_getLP(&pluginInfo);
os_unicode_enabled = IsUnicodeOS();
|