Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/macutils/AppKitImpl.h')
-rw-r--r--src/gui/macutils/AppKitImpl.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/macutils/AppKitImpl.h b/src/gui/macutils/AppKitImpl.h
index ca2506794..54f695919 100644
--- a/src/gui/macutils/AppKitImpl.h
+++ b/src/gui/macutils/AppKitImpl.h
@@ -19,13 +19,14 @@
#import "AppKit.h"
#import <Foundation/Foundation.h>
+#import <AppKit/NSEvent.h>
#import <AppKit/NSRunningApplication.h>
@interface AppKitImpl : NSObject
{
- AppKit *m_appkit;
+ AppKit* m_appkit;
}
-- (id) initWithObject:(AppKit *)appkit;
+- (id) initWithObject:(AppKit*)appkit;
@property (strong) NSRunningApplication *lastActiveApplication;
@@ -36,5 +37,8 @@
- (bool) isHidden:(pid_t) pid;
- (bool) isDarkMode;
- (void) userSwitchHandler:(NSNotification*) notification;
+- (id) addGlobalMonitor:(NSEventMask) mask handler:(void (^)(NSEvent*)) handler;
+- (void) removeGlobalMonitor:(id) monitor;
+- (bool) enableAccessibility;
@end