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/Popup/src | |
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/Popup/src')
-rw-r--r-- | plugins/Popup/src/config.cpp | 2 | ||||
-rw-r--r-- | plugins/Popup/src/config.h | 1 | ||||
-rw-r--r-- | plugins/Popup/src/main.cpp | 4 |
3 files changed, 3 insertions, 4 deletions
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;
|