Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
MacNotificationHandler Class Reference

Macintosh-specific notification handler (supports UserNotificationCenter). More...

#include <macnotificationhandler.h>

Inheritance diagram for MacNotificationHandler:
[legend]
Collaboration diagram for MacNotificationHandler:
[legend]

Public Member Functions

void showNotification (const QString &title, const QString &text)
 shows a macOS 10.8+ UserNotification in the UserNotificationCenter
bool hasUserNotificationCenterSupport ()
 check if OS can handle UserNotifications

Static Public Member Functions

static MacNotificationHandlerinstance ()

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 35 of file macnotificationhandler.mm.

Here is the caller graph for this function:

◆ instance()

MacNotificationHandler * MacNotificationHandler::instance ( )
static

Definition at line 47 of file macnotificationhandler.mm.

Here is the caller graph for this function:

◆ 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.

Here is the call graph for this function:

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