diff options
Diffstat (limited to 'osdep/macosx_application_objc.h')
-rw-r--r-- | osdep/macosx_application_objc.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/osdep/macosx_application_objc.h b/osdep/macosx_application_objc.h index 8abe9b98e2..3ab74698c3 100644 --- a/osdep/macosx_application_objc.h +++ b/osdep/macosx_application_objc.h @@ -17,6 +17,7 @@ */ #import <Cocoa/Cocoa.h> +#import "ar/HIDRemote.h" #include "osdep/macosx_application.h" struct cocoa_input_queue; @@ -26,9 +27,12 @@ struct cocoa_input_queue; - (int) pop; @end -@interface EventsResponder : NSResponder +@interface EventsResponder : NSObject <HIDRemoteDelegate> - (void)handleMediaKey:(int)key; - (NSEvent *)handleKeyDown:(NSEvent *)event; +- (void)startAppleRemote; +- (void)stopAppleRemote; +@property(nonatomic, retain) HIDRemote *remote; @end @interface Application : NSApplication |