summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/stdafx.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-08-31 07:45:19 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-08-31 07:45:19 +0000
commit291d2b6a67bf9501c5427758092805b66aa44dcf (patch)
tree079076be3a220a78fdc5e2b63077adcb407d0ef9 /plugins/Toaster/src/stdafx.h
parent081f1880ea898bba1bfd2ba2ff79b5e4de929b86 (diff)
Toaster: more fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15124 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster/src/stdafx.h')
-rw-r--r--plugins/Toaster/src/stdafx.h12
1 files changed, 11 insertions, 1 deletions
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 <windows.ui.notifications.h>
#include <ShObjIdl.h>
#include <propvarutil.h>
+#include <memory>
#include <newpluginapi.h>
#include <m_system_cpp.h>
@@ -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_