diff options
Diffstat (limited to 'plugins/Toaster/src/toast_event_handler.h')
-rw-r--r-- | plugins/Toaster/src/toast_event_handler.h | 8 |
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 |