summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/toast_event_handler.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-09-16 12:35:57 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-09-16 12:35:57 +0000
commitd0a1040e019092c29d8d2a2c2a29bc1e7644a5e5 (patch)
tree9297e79ab09653aa870c5ef83c163673fbce8e6c /plugins/Toaster/src/toast_event_handler.h
parent87208846a0e7fd82e246dd1e6a9cddfc0ca159e4 (diff)
Toaster: more optimizations
git-svn-id: http://svn.miranda-ng.org/main/trunk@15361 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster/src/toast_event_handler.h')
-rw-r--r--plugins/Toaster/src/toast_event_handler.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/Toaster/src/toast_event_handler.h b/plugins/Toaster/src/toast_event_handler.h
index 4405272f54..4d7a13c2f5 100644
--- a/plugins/Toaster/src/toast_event_handler.h
+++ b/plugins/Toaster/src/toast_event_handler.h
@@ -10,8 +10,6 @@ struct ToastHandlerData;
class ToastEventHandler : public Microsoft::WRL::Implements<DesktopToastActivatedEventHandler, DesktopToastDismissedEventHandler, DesktopToastFailedEventHandler>
{
public:
- std::unique_ptr<ToastHandlerData> _thd;
-
ToastEventHandler::ToastEventHandler(_In_ ToastHandlerData *pData);
~ToastEventHandler();
@@ -23,9 +21,13 @@ public:
IFACEMETHODIMP Invoke(_In_ ABI::Windows::UI::Notifications::IToastNotification* sender, _In_ IInspectable* args);
IFACEMETHODIMP Invoke(_In_ ABI::Windows::UI::Notifications::IToastNotification* /* sender */, _In_ ABI::Windows::UI::Notifications::IToastDismissedEventArgs* e);
IFACEMETHODIMP Invoke(_In_ ABI::Windows::UI::Notifications::IToastNotification* /* sender */, _In_ ABI::Windows::UI::Notifications::IToastFailedEventArgs* /* e */);
+
+ void* GetPluginData();
+ MCONTACT GetContact();
+
private:
ULONG _ref;
-
+ std::unique_ptr<ToastHandlerData> _thd;
};
#endif //_TOAST_EVENT_HANDLER_H_ \ No newline at end of file