Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
MacNotificationHandler Class Reference
Macintosh-specific notification handler (supports UserNotificationCenter). More...
#include <macnotificationhandler.h>
Inheritance diagram for MacNotificationHandler:
Collaboration diagram for MacNotificationHandler:
Public Member Functions | |
void | showNotification (const QString &title, const QString &text) |
shows a macOS 10.8+ UserNotification in the UserNotificationCenter More... | |
bool | hasUserNotificationCenterSupport (void) |
check if OS can handle UserNotifications More... | |
Static Public Member Functions | |
static MacNotificationHandler * | instance () |
Detailed Description
Macintosh-specific notification handler (supports UserNotificationCenter).
Definition at line 12 of file macnotificationhandler.h.
Member Function Documentation
◆ hasUserNotificationCenterSupport()
bool MacNotificationHandler::hasUserNotificationCenterSupport | ( | void | ) |
check if OS can handle UserNotifications
Definition at line 50 of file macnotificationhandler.mm.
Referenced by Notificator::Notificator().
◆ instance()
|
static |
Definition at line 62 of file macnotificationhandler.mm.
References s_instance.
Referenced by Notificator::Notificator().
◆ showNotification()
void MacNotificationHandler::showNotification | ( | const QString & | title, |
const QString & | text | ||
) |
shows a macOS 10.8+ UserNotification in the UserNotificationCenter
Definition at line 23 of file macnotificationhandler.mm.
References utf8.
The documentation for this class was generated from the following files:
- src/qt/macnotificationhandler.h
- src/qt/macnotificationhandler.mm