diff options
Diffstat (limited to 'osdep/macosx_events_objc.h')
-rw-r--r-- | osdep/macosx_events_objc.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/osdep/macosx_events_objc.h b/osdep/macosx_events_objc.h index e9b14ed079..70a058e651 100644 --- a/osdep/macosx_events_objc.h +++ b/osdep/macosx_events_objc.h @@ -27,11 +27,17 @@ struct input_ctx; + (EventsResponder *)sharedInstance; +- (void)setInputContext:(struct input_ctx *)ctx; + /// Blocks until inputContext is present. - (void)waitForInputContext; -- (void)handleFilesArray:(NSArray *)files; +- (void)wakeup; + +- (bool)queueCommand:(char *)cmd; -@property(nonatomic, assign) struct input_ctx *inputContext; +- (void)putKey:(int)keycode; + +- (void)handleFilesArray:(NSArray *)files; @end |