#ifndef NOTIFICATIONACTIVATOR_HPP #define NOTIFICATIONACTIVATOR_HPP #pragma once #include #include #include #include #include #include #include // #include #include #include // #include // using namespace winrt; // using namespace Windows::UI::Notifications; // using namespace Windows::Data::Xml::Dom; using namespace ABI::Windows::Data::Xml::Dom; using namespace Microsoft::WRL; using Microsoft::WRL::ClassicCom; using Microsoft::WRL::RuntimeClass; using Microsoft::WRL::RuntimeClassFlags; class DECLSPEC_UUID("FC946101-E4AB-4EA4-BC2E-C7F4D72B89AC") NotificationActivator : public Microsoft::WRL::RuntimeClass, INotificationActivationCallback> { public: NotificationActivator(); ~NotificationActivator(); static void onActivated(LPCWSTR invokedArgs); // appelé depuis le .cpp HRESULT STDMETHODCALLTYPE Activate(LPCWSTR appUserModelId, LPCWSTR invokedArgs, const NOTIFICATION_USER_INPUT_DATA *data, ULONG dataCount) override; }; #endif // NOTIFICATIONACTIVATOR_HPP