From 48ab72b4781b01e334b60d6f5e71afe72900fa58 Mon Sep 17 00:00:00 2001 From: Akemi Date: Sat, 29 Jul 2017 15:26:58 +0200 Subject: osx: move menu bar creation into its own file --- osdep/macosx_application_objc.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'osdep/macosx_application_objc.h') 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 #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 -- cgit v1.2.3