Bitcoin ABC 0.30.5
P2P Digital Currency
|
Macintosh-specific notification handler (supports UserNotificationCenter). More...
#include <macnotificationhandler.h>
Public Member Functions | |
void | showNotification (const QString &title, const QString &text) |
shows a macOS 10.8+ UserNotification in the UserNotificationCenter More... | |
bool | hasUserNotificationCenterSupport () |
check if OS can handle UserNotifications More... | |
Static Public Member Functions | |
static MacNotificationHandler * | instance () |
Macintosh-specific notification handler (supports UserNotificationCenter).
Definition at line 12 of file macnotificationhandler.h.
bool MacNotificationHandler::hasUserNotificationCenterSupport | ( | ) |
check if OS can handle UserNotifications
Definition at line 36 of file macnotificationhandler.mm.
|
static |
Definition at line 46 of file macnotificationhandler.mm.
void MacNotificationHandler::showNotification | ( | const QString & | title, |
const QString & | text | ||
) |
shows a macOS 10.8+ UserNotification in the UserNotificationCenter
Definition at line 22 of file macnotificationhandler.mm.