Bitcoin ABC 0.30.5
P2P Digital Currency
Functions | Variables
macdockiconhandler.mm File Reference
#include "macdockiconhandler.h"
#include <AppKit/AppKit.h>
#include <objc/runtime.h>
Include dependency graph for macdockiconhandler.mm:

Go to the source code of this file.

Functions

bool dockClickHandler (id self, SEL _cmd,...)
 
void setupDockClickHandler ()
 
void ForceActivation ()
 Force application activation on macOS. More...
 

Variables

static MacDockIconHandlers_instance = nullptr
 

Function Documentation

◆ dockClickHandler()

bool dockClickHandler ( id  self,
SEL  _cmd,
  ... 
)

Definition at line 12 of file macdockiconhandler.mm.

Here is the caller graph for this function:

◆ ForceActivation()

void ForceActivation ( )

Force application activation on macOS.

With Qt 5.5.1 this is required when an action in the Dock menu is triggered. TODO: Define a Qt version where it's no-longer necessary.

Definition at line 48 of file macdockiconhandler.mm.

Here is the caller graph for this function:

◆ setupDockClickHandler()

void setupDockClickHandler ( )

Definition at line 22 of file macdockiconhandler.mm.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ s_instance

MacDockIconHandler* s_instance = nullptr
static

Definition at line 10 of file macdockiconhandler.mm.