2013-02-23 17:28:22 +00:00
|
|
|
/*
|
|
|
|
* This file is part of mpv.
|
|
|
|
*
|
2017-06-24 14:08:17 +00:00
|
|
|
* 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.
|
2013-02-23 17:28:22 +00:00
|
|
|
*
|
|
|
|
* 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
|
2017-06-24 14:08:17 +00:00
|
|
|
* GNU Lesser General Public License for more details.
|
2013-02-23 17:28:22 +00:00
|
|
|
*
|
2017-06-24 14:08:17 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
|
2013-02-23 17:28:22 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MPV_MACOSX_APPLICATION
|
|
|
|
#define MPV_MACOSX_APPLICATION
|
|
|
|
|
2017-07-29 13:26:58 +00:00
|
|
|
#include "osdep/macosx_menubar.h"
|
2013-02-23 17:28:22 +00:00
|
|
|
|
2013-03-04 13:23:06 +00:00
|
|
|
// multithreaded wrapper for mpv_main
|
2015-05-02 16:47:57 +00:00
|
|
|
int cocoa_main(int argc, char *argv[]);
|
2013-02-23 17:28:22 +00:00
|
|
|
void cocoa_register_menu_item_action(MPMenuKey key, void* action);
|
|
|
|
|
|
|
|
#endif /* MPV_MACOSX_APPLICATION */
|