Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
macnotificationhandler.mm
Go to the documentation of this file.
41 id notificationCenterInstance = [NSClassFromString(@"NSUserNotificationCenter") performSelector:@selector(defaultUserNotificationCenter)];
42 [notificationCenterInstance performSelector:@selector(deliverNotification:) withObject:userNotification];
72 method_exchangeImplementations(class_getInstanceMethod(aPossibleClass, @selector(bundleIdentifier)),
bool hasUserNotificationCenterSupport(void)
check if OS can handle UserNotifications
Definition: macnotificationhandler.mm:50
static MacNotificationHandler * instance()
Definition: macnotificationhandler.mm:62
void showNotification(const QString &title, const QString &text)
shows a macOS 10.8+ UserNotification in the UserNotificationCenter
Definition: macnotificationhandler.mm:23
Macintosh-specific notification handler (supports UserNotificationCenter).
Definition: macnotificationhandler.h:12