From 81e8caf42867b65677efe2bffaa52ecff7303c3a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Jun 2012 13:58:25 +0000 Subject: no more pluginLink in load() git-svn-id: http://svn.miranda-ng.org/main/trunk@652 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MetaContacts/meta_main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/MetaContacts') 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(); -- cgit v1.2.3