summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_application_objc.h
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2017-07-29 15:26:58 +0200
committerAkemi <der.richter@gmx.de>2017-08-18 19:20:41 +0200
commit48ab72b4781b01e334b60d6f5e71afe72900fa58 (patch)
tree94edaabec7ff70a728e7e1925a2b9ad54b2d6450 /osdep/macosx_application_objc.h
parent1f7fe1597db4d6d984fe8f9235223a404b4280f1 (diff)
downloadmpv-48ab72b4781b01e334b60d6f5e71afe72900fa58.tar.bz2
mpv-48ab72b4781b01e334b60d6f5e71afe72900fa58.tar.xz
osx: move menu bar creation into its own file
Diffstat (limited to 'osdep/macosx_application_objc.h')
-rw-r--r--osdep/macosx_application_objc.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/osdep/macosx_application_objc.h b/osdep/macosx_application_objc.h
index 6fc6d61a55..7e2993fb2f 100644
--- a/osdep/macosx_application_objc.h
+++ b/osdep/macosx_application_objc.h
@@ -17,18 +17,17 @@
#import <Cocoa/Cocoa.h>
#include "osdep/macosx_application.h"
+#import "osdep/macosx_menubar_objc.h"
struct mpv_event;
@interface Application : NSApplication
-- (void)initialize_menu;
-- (void)registerSelector:(SEL)selector forKey:(MPMenuKey)key;
-- (void)stopPlayback;
- (void)processEvent:(struct mpv_event *)event;
- (void)queueCommand:(char *)cmd;
+- (void)stopMPV:(char *)cmd;
-@property(nonatomic, retain) NSMutableDictionary *menuItems;
+@property(nonatomic, retain) MenuBar *menuBar;
@property(nonatomic, retain) NSArray *files;
@property(nonatomic, assign) size_t openCount;
@end