game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
core::NullNotificationService Class Reference

#include <notification_service.h>

Inheritance diagram for core::NullNotificationService:
Collaboration diagram for core::NullNotificationService:

Public Member Functions

void clearAll () override
 Clear all notifications.
void error (const std::string &, float) override
 Show an error notification.
void info (const std::string &, float) override
 Show an info notification.
void show (const Notification &) override
 Show a notification with full control.
void success (const std::string &, float) override
 Show a success notification.
void warning (const std::string &, float) override
 Show a warning notification.
Public Member Functions inherited from core::INotificationService
virtual ~INotificationService ()=default

Detailed Description

Definition at line 116 of file notification_service.h.

Member Function Documentation

◆ clearAll()

void core::NullNotificationService::clearAll ( )
inlineoverridevirtual

Clear all notifications.

Implements core::INotificationService.

Definition at line 124 of file notification_service.h.

◆ error()

void core::NullNotificationService::error ( const std::string & message,
float duration )
inlineoverridevirtual

Show an error notification.

Implements core::INotificationService.

Definition at line 122 of file notification_service.h.

◆ info()

void core::NullNotificationService::info ( const std::string & message,
float duration )
inlineoverridevirtual

Show an info notification.

Implements core::INotificationService.

Definition at line 119 of file notification_service.h.

◆ show()

void core::NullNotificationService::show ( const Notification & notification)
inlineoverridevirtual

Show a notification with full control.

Implements core::INotificationService.

Definition at line 123 of file notification_service.h.

◆ success()

void core::NullNotificationService::success ( const std::string & message,
float duration )
inlineoverridevirtual

Show a success notification.

Implements core::INotificationService.

Definition at line 120 of file notification_service.h.

◆ warning()

void core::NullNotificationService::warning ( const std::string & message,
float duration )
inlineoverridevirtual

Show a warning notification.

Implements core::INotificationService.

Definition at line 121 of file notification_service.h.


The documentation for this class was generated from the following file: