diff options
Diffstat (limited to 'osdep/mac/app_bridge.h')
-rw-r--r-- | osdep/mac/app_bridge.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/osdep/mac/app_bridge.h b/osdep/mac/app_bridge.h index 27cc2413ea..fe1180a7ec 100644 --- a/osdep/mac/app_bridge.h +++ b/osdep/mac/app_bridge.h @@ -17,6 +17,12 @@ #pragma once +#include <stdbool.h> +#include "options/m_option.h" + +struct input_ctx; +struct mpv_handle; + enum { FRAME_VISIBLE = 0, FRAME_WHOLE, @@ -46,5 +52,7 @@ void cocoa_uninit_media_keys(void); void cocoa_set_input_context(struct input_ctx *input_context); void cocoa_set_mpv_handle(struct mpv_handle *ctx); void cocoa_init_cocoa_cb(void); +// multithreaded wrapper for mpv_main +int cocoa_main(int argc, char *argv[]); extern const struct m_sub_options macos_conf; |