diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-19 16:46:00 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-19 16:46:00 +0000 |
commit | 22fd8863b0175f11937c43441904852eda5f9c4a (patch) | |
tree | 537e26262f9f7c08d37d2ad5020925bbffc8c344 /plugins/Toaster/src/toast_notification.h | |
parent | 3e31902e8049fdd12bad86353617badead391917 (diff) |
Toaster: code optimization
git-svn-id: http://svn.miranda-ng.org/main/trunk@15397 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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();
};
|