mirror of https://github.com/mpv-player/mpv
mac: cleanup mac headers and include preprocessors
This commit is contained in:
parent
6fed2f8e58
commit
86aea966d9
|
@ -1,6 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* Cocoa Application Event Handling
|
|
||||||
*
|
|
||||||
* This file is part of mpv.
|
* This file is part of mpv.
|
||||||
*
|
*
|
||||||
* mpv is free software; you can redistribute it and/or
|
* mpv is free software; you can redistribute it and/or
|
||||||
|
@ -17,8 +15,7 @@
|
||||||
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
|
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MAC_EVENTS
|
#pragma once
|
||||||
#define MAC_EVENTS
|
|
||||||
|
|
||||||
#include "input/input.h"
|
#include "input/input.h"
|
||||||
|
|
||||||
|
@ -27,5 +24,3 @@ void cocoa_uninit_media_keys(void);
|
||||||
void cocoa_set_input_context(struct input_ctx *input_context);
|
void cocoa_set_input_context(struct input_ctx *input_context);
|
||||||
void cocoa_set_mpv_handle(struct mpv_handle *ctx);
|
void cocoa_set_mpv_handle(struct mpv_handle *ctx);
|
||||||
void cocoa_init_cocoa_cb(void);
|
void cocoa_init_cocoa_cb(void);
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* Cocoa Application Event Handling
|
|
||||||
*
|
|
||||||
* This file is part of mpv.
|
* This file is part of mpv.
|
||||||
*
|
*
|
||||||
* mpv is free software; you can redistribute it and/or
|
* mpv is free software; you can redistribute it and/or
|
||||||
|
|
|
@ -15,8 +15,7 @@
|
||||||
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
|
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MAC_APPLICATION
|
#pragma once
|
||||||
#define MAC_APPLICATION
|
|
||||||
|
|
||||||
#include "options/m_option.h"
|
#include "options/m_option.h"
|
||||||
|
|
||||||
|
@ -48,5 +47,3 @@ struct macos_opts {
|
||||||
int cocoa_main(int argc, char *argv[]);
|
int cocoa_main(int argc, char *argv[]);
|
||||||
|
|
||||||
extern const struct m_sub_options macos_conf;
|
extern const struct m_sub_options macos_conf;
|
||||||
|
|
||||||
#endif /* MAC_APPLICATION */
|
|
||||||
|
|
Loading…
Reference in New Issue