Fabcoin Core
0.16.2
P2P Digital Currency
|
Macintosh-specific notification handler (supports UserNotificationCenter and Growl). More...
#include <macnotificationhandler.h>
Public Member Functions | |
void | showNotification (const QString &title, const QString &text) |
shows a 10.8+ UserNotification in the UserNotificationCenter More... | |
void | sendAppleScript (const QString &script) |
executes AppleScript More... | |
bool | hasUserNotificationCenterSupport (void) |
check if OS can handle UserNotifications More... | |
Static Public Member Functions | |
static MacNotificationHandler * | instance () |
Macintosh-specific notification handler (supports UserNotificationCenter and Growl).
Definition at line 12 of file macnotificationhandler.h.
bool MacNotificationHandler::hasUserNotificationCenterSupport | ( | void | ) |
check if OS can handle UserNotifications
Definition at line 64 of file macnotificationhandler.mm.
|
static |
Definition at line 76 of file macnotificationhandler.mm.
void MacNotificationHandler::sendAppleScript | ( | const QString & | script | ) |
executes AppleScript
Definition at line 51 of file macnotificationhandler.mm.
void MacNotificationHandler::showNotification | ( | const QString & | title, |
const QString & | text | ||
) |
shows a 10.8+ UserNotification in the UserNotificationCenter
Definition at line 23 of file macnotificationhandler.mm.