diff options
Diffstat (limited to 'plugins/Toaster/src/toast_notification.h')
-rw-r--r-- | plugins/Toaster/src/toast_notification.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/Toaster/src/toast_notification.h b/plugins/Toaster/src/toast_notification.h index e56a08c418..cf86271e64 100644 --- a/plugins/Toaster/src/toast_notification.h +++ b/plugins/Toaster/src/toast_notification.h @@ -8,9 +8,9 @@ private: wchar_t* _caption;
wchar_t* _imagePath;
- EventRegistrationToken ertActivated;
- EventRegistrationToken ertDismissed;
- EventRegistrationToken ertFailed;
+ EventRegistrationToken _ertActivated;
+ EventRegistrationToken _ertDismissed;
+ EventRegistrationToken _ertFailed;
Microsoft::WRL::ComPtr<ABI::Windows::UI::Notifications::IToastNotificationManagerStatics> notificationManager;
Microsoft::WRL::ComPtr<ABI::Windows::UI::Notifications::IToastNotifier> notifier;
@@ -20,14 +20,10 @@ private: HRESULT Create(_Outptr_ ABI::Windows::UI::Notifications::IToastNotification** notification);
public:
- COLORREF background;
- COLORREF foreground;
-
ToastNotification(_In_ wchar_t* text, _In_ wchar_t* caption = nullptr, _In_ wchar_t* imagePath = nullptr);
- HRESULT Initialize();
~ToastNotification();
- HRESULT Show();
+ HRESULT Initialize();
HRESULT Show(_In_ ToastEventHandler* handler);
HRESULT Hide();
};
|