|
libnick 2025.10.0
A cross-platform base for native Nickvision applications.
|
An event argument for when a shell notification is sent. More...
#include <shellnotificationsenteventargs.h>
Public Member Functions | |
| ShellNotificationSentEventArgs (const std::string &title, const std::string &message, NotificationSeverity severity, const std::string &action="", const std::string &actionParam="") noexcept | |
| Constructs a ShellNotificationSentEventArgs. | |
| const std::string & | getTitle () const noexcept |
| Gets the title of the notification. | |
| Public Member Functions inherited from Nickvision::Notifications::NotificationSentEventArgs | |
| NotificationSentEventArgs (const std::string &message, NotificationSeverity severity, const std::string &action="", const std::string &actionParam="") noexcept | |
| Constructs a NotificationSentEventArgs. | |
| const std::string & | getMessage () const noexcept |
| Gets the message of the notification. | |
| NotificationSeverity | getSeverity () const noexcept |
| Gets the severity of the notification. | |
| const std::string & | getAction () const noexcept |
| Gets the optional action of the notification. | |
| const std::string & | getActionParam () const noexcept |
| Gets the parameter of the optional action. | |
| Public Member Functions inherited from Nickvision::Events::EventArgs | |
| EventArgs () noexcept=default | |
| Constructs an EventArgs. | |
Protected Attributes | |
| std::string | m_title |
| Protected Attributes inherited from Nickvision::Notifications::NotificationSentEventArgs | |
| std::string | m_message |
| NotificationSeverity | m_severity |
| std::string | m_action |
| std::string | m_actionParam |
An event argument for when a shell notification is sent.
|
noexcept |
Constructs a ShellNotificationSentEventArgs.
| title | The title of the notification |
| message | The message of the notification |
| severity | The severity of the notification |
| action | An additional action for the notification |
| actionParam | The parameter of the additional action |
|
noexcept |
Gets the title of the notification.
|
protected |