anotherim-desktop/plugins/windows-notification/api/include/notificationhandler.hpp

18 lines
457 B
C++
Raw Normal View History

2021-02-18 09:24:53 +00:00
#pragma once
#include "typedefinitions.h"
class NotificationHandler {
private:
dinoWinToastLib_Notification_Callbacks callbacks{};
public:
WinToastHandler(dinoWinToastLib_Notification_Callbacks callbacks);
~WinToastHandler();
// Public interfaces
void toastActivated() const;
void toastActivated(int actionIndex) const;
void toastDismissed(WinToastLib::IWinToastHandler::WinToastDismissalReason state) const;
void toastFailed() const;
};