From 291d2b6a67bf9501c5427758092805b66aa44dcf Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Mon, 31 Aug 2015 07:45:19 +0000 Subject: Toaster: more fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@15124 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Toaster/src/stdafx.h | 12 +++++++++++- 1 file changed, 11 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 ac22e2cf5a..3fce653263 100644 --- a/plugins/Toaster/src/stdafx.h +++ b/plugins/Toaster/src/stdafx.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include @@ -44,7 +45,16 @@ struct callbackArg ToastNotification* notification; }; +struct ToastData +{ + MCONTACT hContact; + TCHAR *tszTitle; + TCHAR *tszText; + + ToastData(MCONTACT _hContact, TCHAR *_tszTitle, TCHAR *_tszText) : hContact(_hContact), tszTitle(_tszTitle), tszText(_tszText) {} +}; + void InitServices(); int OnPreShutdown(WPARAM, LPARAM); -void HideAllToasts(); +void __stdcall HideAllToasts(void*); #endif //_COMMON_H_ -- cgit v1.2.3