|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
#include <notification_service.h>
Public Member Functions | |
| virtual | ~INotificationService ()=default |
| virtual void | clearAll ()=0 |
| Clear all notifications. | |
| virtual void | error (const std::string &message, float duration=5.0f)=0 |
| Show an error notification. | |
| virtual void | info (const std::string &message, float duration=3.0f)=0 |
| Show an info notification. | |
| virtual void | show (const Notification ¬ification)=0 |
| Show a notification with full control. | |
| virtual void | success (const std::string &message, float duration=3.0f)=0 |
| Show a success notification. | |
| virtual void | warning (const std::string &message, float duration=5.0f)=0 |
| Show a warning notification. | |
Definition at line 46 of file notification_service.h.
|
virtualdefault |
|
pure virtual |
Clear all notifications.
Implemented in core::NullNotificationService, and QtNotificationService.
|
pure virtual |
Show an error notification.
Implemented in core::NullNotificationService, and QtNotificationService.
|
pure virtual |
Show an info notification.
Implemented in core::NullNotificationService, and QtNotificationService.
|
pure virtual |
Show a notification with full control.
Implemented in core::NullNotificationService, and QtNotificationService.
|
pure virtual |
Show a success notification.
Implemented in core::NullNotificationService, and QtNotificationService.
|
pure virtual |
Show a warning notification.
Implemented in core::NullNotificationService, and QtNotificationService.