libnick 2024.12.0
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
shellnotificationsenteventargs.h
Go to the documentation of this file.
1
23#ifndef SHELLNOTIFICATIONSENTEVENTARGS_H
24#define SHELLNOTIFICATIONSENTEVENTARGS_H
25
27
29{
34 {
35 public:
44 ShellNotificationSentEventArgs(const std::string& title, const std::string& message, NotificationSeverity severity, const std::string& action = "", const std::string& actionParam = "");
49 const std::string& getTitle() const;
50
51 protected:
52 std::string m_title;
53 };
54}
55
56#endif //SHELLNOTIFICATIONSENTEVENTARGS_H
An event argument for when a notification is sent.
Definition notificationsenteventargs.h:36
An event argument for when a shell notification is sent.
Definition shellnotificationsenteventargs.h:34
const std::string & getTitle() const
Gets the title of the notification.
std::string m_title
Definition shellnotificationsenteventargs.h:52
ShellNotificationSentEventArgs(const std::string &title, const std::string &message, NotificationSeverity severity, const std::string &action="", const std::string &actionParam="")
Constructs a ShellNotificationSentEventArgs.
Definition notificationsenteventargs.h:31
NotificationSeverity
Severities of a notification.
Definition notificationseverity.h:32