summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_events_objc.h
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2018-01-20 15:54:27 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-01-20 14:43:49 -0800
commitdb08e28304693c1b2e8cbfbad0c28c23c1a414d7 (patch)
treea6828a1dee5ff972396101c639fb3befd7167d00 /osdep/macosx_events_objc.h
parent45ce4ba877b965291d9d9209b6dda6fbfbf83bb7 (diff)
downloadmpv-db08e28304693c1b2e8cbfbad0c28c23c1a414d7.tar.bz2
mpv-db08e28304693c1b2e8cbfbad0c28c23c1a414d7.tar.xz
osx: code cleanups and cosmetic fixes
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