diff options
author | Akemi <der.richter@gmx.de> | 2017-07-29 15:26:58 +0200 |
---|---|---|
committer | Akemi <der.richter@gmx.de> | 2017-08-18 19:20:41 +0200 |
commit | 48ab72b4781b01e334b60d6f5e71afe72900fa58 (patch) | |
tree | 94edaabec7ff70a728e7e1925a2b9ad54b2d6450 /osdep/macosx_menubar_objc.h | |
parent | 1f7fe1597db4d6d984fe8f9235223a404b4280f1 (diff) | |
download | mpv-48ab72b4781b01e334b60d6f5e71afe72900fa58.tar.bz2 mpv-48ab72b4781b01e334b60d6f5e71afe72900fa58.tar.xz |
osx: move menu bar creation into its own file
Diffstat (limited to 'osdep/macosx_menubar_objc.h')
-rw-r--r-- | osdep/macosx_menubar_objc.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/osdep/macosx_menubar_objc.h b/osdep/macosx_menubar_objc.h new file mode 100644 index 0000000000..c0d42cf577 --- /dev/null +++ b/osdep/macosx_menubar_objc.h @@ -0,0 +1,27 @@ +/* + * This file is part of mpv. + * + * mpv is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * mpv is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with mpv. If not, see <http://www.gnu.org/licenses/>. + */ + +#import <Cocoa/Cocoa.h> +#include "osdep/macosx_menubar.h" + +@interface MenuBar : NSObject + +- (void)registerSelector:(SEL)action forKey:(MPMenuKey)key; + +@property(nonatomic, retain) NSMutableDictionary *menuItems; + +@end |