summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/toast_notification.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-08-30 16:26:27 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-08-30 16:26:27 +0000
commitcf86eea70d32381c0c036a42c1dd08bdcca332dc (patch)
treeb941ead4377cb0ba80722a0b689b8382494d95aa /plugins/Toaster/src/toast_notification.h
parenta554fe6d0fe287b5c857ebdcfcc020cf0c3e3ea4 (diff)
Toaster: protocol icon if no avatar; errors logging
git-svn-id: http://svn.miranda-ng.org/main/trunk@15118 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster/src/toast_notification.h')
-rw-r--r--plugins/Toaster/src/toast_notification.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Toaster/src/toast_notification.h b/plugins/Toaster/src/toast_notification.h
index 0e4131b945..1f688744bd 100644
--- a/plugins/Toaster/src/toast_notification.h
+++ b/plugins/Toaster/src/toast_notification.h
@@ -8,6 +8,7 @@ private:
wchar_t* _caption;
wchar_t* _imagePath;
+ Microsoft::WRL::ComPtr<ABI::Windows::UI::Notifications::IToastNotificationManagerStatics> notificationManager;
Microsoft::WRL::ComPtr<ABI::Windows::UI::Notifications::IToastNotifier> notifier;
Microsoft::WRL::ComPtr<ABI::Windows::UI::Notifications::IToastNotification> notification;
@@ -25,6 +26,7 @@ public:
COLORREF foreground;
ToastNotification(_In_ wchar_t* text, _In_ wchar_t* caption = nullptr, _In_ wchar_t* imagePath = nullptr);
+ HRESULT Initialize();
~ToastNotification();
HRESULT Show();