1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 02:22:19 +00:00

mac: cleanup mac headers and include preprocessors

This commit is contained in:
der richter 2024-03-25 23:53:43 +01:00
parent 6fed2f8e58
commit 86aea966d9
3 changed files with 2 additions and 12 deletions

View File

@ -1,6 +1,4 @@
/*
* Cocoa Application Event Handling
*
* This file is part of mpv.
*
* 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/>.
*/
#ifndef MAC_EVENTS
#define MAC_EVENTS
#pragma once
#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_mpv_handle(struct mpv_handle *ctx);
void cocoa_init_cocoa_cb(void);
#endif

View File

@ -1,6 +1,4 @@
/*
* Cocoa Application Event Handling
*
* This file is part of mpv.
*
* mpv is free software; you can redistribute it and/or

View File

@ -15,8 +15,7 @@
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef MAC_APPLICATION
#define MAC_APPLICATION
#pragma once
#include "options/m_option.h"
@ -48,5 +47,3 @@ struct macos_opts {
int cocoa_main(int argc, char *argv[]);
extern const struct m_sub_options macos_conf;
#endif /* MAC_APPLICATION */