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/Popup/src/config.cpp | 2 +- plugins/Popup/src/config.h | 1 - plugins/Popup/src/main.cpp | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'plugins/Popup') diff --git a/plugins/Popup/src/config.cpp b/plugins/Popup/src/config.cpp index 7fecae0141..dd3c683c13 100644 --- a/plugins/Popup/src/config.cpp +++ b/plugins/Popup/src/config.cpp @@ -36,7 +36,7 @@ Last change by : $Author: Merlin_de $ HINSTANCE hInst; HANDLE hMainThread; //MNOTIFYLINK *notifyLink; //deprecatet -PLUGINLINK *pluginLink; + HANDLE hSemaphore; BOOL closing = FALSE; MTEXT_INTERFACE MText = {0}; diff --git a/plugins/Popup/src/config.h b/plugins/Popup/src/config.h index 2f6a25d33e..315cf7f4e3 100644 --- a/plugins/Popup/src/config.h +++ b/plugins/Popup/src/config.h @@ -144,7 +144,6 @@ void LoadOptions(); //===== General Plugin ===== extern HINSTANCE hInst; extern HANDLE hMainThread; -extern PLUGINLINK *pluginLink; extern HANDLE hSemaphore; extern BOOL closing; extern HANDLE folderId; diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp index acd94f3cdc..0e7218ed4e 100644 --- a/plugins/Popup/src/main.cpp +++ b/plugins/Popup/src/main.cpp @@ -489,10 +489,10 @@ static int OkToExit(WPARAM wParam, LPARAM lParam) //===== Load ===== //Initializes the services provided and the link to those needed //Called when the plugin is loaded into Miranda -MIRAPI int Load(PLUGINLINK *link) +MIRAPI int Load(void) { char ver[1024]; - pluginLink=link; + g_popup.isOsUnicode = (GetVersion() & 0x80000000) == 0; -- cgit v1.2.3