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/YAPP/popups2.cpp | |
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/YAPP/popups2.cpp')
-rw-r--r-- | plugins/YAPP/popups2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/YAPP/popups2.cpp b/plugins/YAPP/popups2.cpp index d57a3ace9b..c4630f8984 100644 --- a/plugins/YAPP/popups2.cpp +++ b/plugins/YAPP/popups2.cpp @@ -43,7 +43,7 @@ PLUGININFOEX pluginInfo={ { 0xefd15f16, 0x7ae4, 0x40d7, { 0xa8, 0xe3, 0xa4, 0x11, 0xed, 0x74, 0x7b, 0xd5 } } // {EFD15F16-7AE4-40d7-A8E3-A411ED747BD5}
};
-PLUGINLINK *pluginLink;
+
extern "C" BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
@@ -228,8 +228,8 @@ int PreShutdown(WPARAM wParam, LPARAM lParam) { HANDLE hEventPreShutdown, hEventModulesLoaded;
-extern "C" int POPUPS2_API Load(PLUGINLINK *link) {
- pluginLink = link;
+extern "C" int POPUPS2_API Load(void) {
+
mir_getLP(&pluginInfo);
InitMessagePump();
|