summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_application_objc.h
diff options
context:
space:
mode:
authorFRAU KOUJIRO <frau@doushio.com>2014-04-15 16:51:40 -0700
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-08-06 09:31:58 +0200
commit78a266d599d08b2792efaeb6e9391cdff56c1281 (patch)
tree9d3b6e175cbaf95c2b755c56cabbb32612fdcfe0 /osdep/macosx_application_objc.h
parentff6c387a7348656c07a1b2b488ad00c34ec0a2a2 (diff)
downloadmpv-78a266d599d08b2792efaeb6e9391cdff56c1281.tar.bz2
mpv-78a266d599d08b2792efaeb6e9391cdff56c1281.tar.xz
cocoa: decouple events from application somewhat
Diffstat (limited to 'osdep/macosx_application_objc.h')
-rw-r--r--osdep/macosx_application_objc.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/osdep/macosx_application_objc.h b/osdep/macosx_application_objc.h
index 3a3b75335f..d203711054 100644
--- a/osdep/macosx_application_objc.h
+++ b/osdep/macosx_application_objc.h
@@ -18,19 +18,6 @@
#import <Cocoa/Cocoa.h>
#include "osdep/macosx_application.h"
-#import "ar/HIDRemote.h"
-
-@interface EventsResponder : NSObject <HIDRemoteDelegate>
-- (BOOL)handleMediaKey:(NSEvent *)event;
-- (NSEvent *)handleKey:(NSEvent *)event;
-- (void)startAppleRemote;
-- (void)stopAppleRemote;
-- (void)startMediaKeys;
-- (void)restartMediaKeys;
-- (void)stopMediaKeys;
-- (int)mapKeyModifiers:(int)cocoaModifiers;
-- (int)keyModifierMask:(NSEvent *)event;
-@end
@interface Application : NSApplication
- (void)initialize_menu;
@@ -38,13 +25,10 @@
- (void)stopPlayback;
- (void)handleFilesArray:(NSArray *)files;
-@property(nonatomic, assign) struct input_ctx *inputContext;
-@property(nonatomic, retain) EventsResponder *eventsResponder;
@property(nonatomic, retain) NSMutableDictionary *menuItems;
@property(nonatomic, retain) NSArray *files;
@property(nonatomic, retain) NSMutableArray *argumentsList;
@property(nonatomic, assign) BOOL willStopOnOpenEvent;
-@property(nonatomic, retain) NSCondition *input_ready;
@end
Application *mpv_shared_app(void);