diff options
Diffstat (limited to 'plugins/YAPP')
-rw-r--r-- | plugins/YAPP/common.h | 1 | ||||
-rw-r--r-- | plugins/YAPP/popups2.cpp | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/plugins/YAPP/common.h b/plugins/YAPP/common.h index 51d5b1cd41..9625c55bb3 100644 --- a/plugins/YAPP/common.h +++ b/plugins/YAPP/common.h @@ -60,7 +60,6 @@ #define MODULE "YAPP"
extern HMODULE hInst;
-extern PLUGINLINK *pluginLink;
extern HFONT hFontFirstLine, hFontSecondLine, hFontTime;
extern COLORREF colFirstLine, colSecondLine, colBg, colTime, colBorder, colSidebar, colTitleUnderline;
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();
|