summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_events_objc.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/macosx_events_objc.h')
-rw-r--r--osdep/macosx_events_objc.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/osdep/macosx_events_objc.h b/osdep/macosx_events_objc.h
index f3210f2580..79ace0a909 100644
--- a/osdep/macosx_events_objc.h
+++ b/osdep/macosx_events_objc.h
@@ -26,24 +26,17 @@ struct input_ctx;
@interface EventsResponder : NSObject <HIDRemoteDelegate>
+ (EventsResponder *)sharedInstance;
-
- (void)setInputContext:(struct input_ctx *)ctx;
-
- (void)setIsApplication:(BOOL)isApplication;
/// Blocks until inputContext is present.
- (void)waitForInputContext;
-
- (void)wakeup;
-
-- (bool)queueCommand:(char *)cmd;
-
- (void)putKey:(int)keycode;
-
- (void)setHighestPriotityMediaKeysTap;
-
- (void)handleFilesArray:(NSArray *)files;
+- (bool)queueCommand:(char *)cmd;
- (bool)processKeyEvent:(NSEvent *)event;
@end