From 4402f6924f14847c1570b22ef06ba54125a9c41c Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 28 Aug 2015 11:32:10 +0000 Subject: Toaster: hiding toasts git-svn-id: http://svn.miranda-ng.org/main/trunk@15053 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Toaster/src/stdafx.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'plugins/Toaster/src/stdafx.h') diff --git a/plugins/Toaster/src/stdafx.h b/plugins/Toaster/src/stdafx.h index a113024828..8df66f4598 100644 --- a/plugins/Toaster/src/stdafx.h +++ b/plugins/Toaster/src/stdafx.h @@ -13,6 +13,8 @@ #include #include +#include +#include #include #include #include @@ -33,10 +35,19 @@ const wchar_t AppUserModelID[] = _T("MirandaNG"); #include "toast_event_handler.h" #include "toast_notification.h" +extern mir_cs csNotifications; +extern OBJLIST lstNotifications; + +struct callbackArg +{ + MCONTACT hContact; + ToastNotification* notification; +}; + #define MODULE "Toaster" extern HINSTANCE g_hInstance; void InitServices(); - +int OnPreShutdown(WPARAM, LPARAM); #endif //_COMMON_H_ -- cgit v1.2.3