mirror of
https://github.com/mpv-player/mpv
synced 2025-04-29 14:50:14 +00:00
input: remove useless joystick.h/lirc.h include files
These really just waste space.
This commit is contained in:
parent
e2a093df02
commit
ae63702a2c
@ -53,12 +53,6 @@
|
|||||||
#include "stream/stream.h"
|
#include "stream/stream.h"
|
||||||
#include "common/common.h"
|
#include "common/common.h"
|
||||||
|
|
||||||
#include "joystick.h"
|
|
||||||
|
|
||||||
#if HAVE_LIRC
|
|
||||||
#include "lirc.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if HAVE_COCOA
|
#if HAVE_COCOA
|
||||||
#include "osdep/macosx_events.h"
|
#include "osdep/macosx_events.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -275,6 +275,8 @@ void mp_input_run_cmd(struct input_ctx *ictx, int def_flags, const char **cmd,
|
|||||||
const char *location);
|
const char *location);
|
||||||
|
|
||||||
void mp_input_add_pipe(struct input_ctx *ictx, const char *filename);
|
void mp_input_add_pipe(struct input_ctx *ictx, const char *filename);
|
||||||
|
void mp_input_joystick_add(struct input_ctx *ictx, char *dev);
|
||||||
|
void mp_input_lirc_add(struct input_ctx *ictx, char *lirc_configfile);
|
||||||
|
|
||||||
void mp_input_set_main_thread(struct input_ctx *ictx);
|
void mp_input_set_main_thread(struct input_ctx *ictx);
|
||||||
|
|
||||||
|
@ -16,9 +16,6 @@
|
|||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include "joystick.h"
|
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
/*
|
|
||||||
* This file is part of MPlayer.
|
|
||||||
*
|
|
||||||
* MPlayer is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* MPlayer 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 General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License along
|
|
||||||
* with MPlayer; if not, write to the Free Software Foundation, Inc.,
|
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef MPLAYER_JOYSTICK_H
|
|
||||||
#define MPLAYER_JOYSTICK_H
|
|
||||||
|
|
||||||
struct input_ctx;
|
|
||||||
struct mp_log;
|
|
||||||
void mp_input_joystick_add(struct input_ctx *ictx, char *dev);
|
|
||||||
|
|
||||||
#endif /* MPLAYER_JOYSTICK_H */
|
|
@ -16,8 +16,6 @@
|
|||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <lirc/lirc_client.h>
|
#include <lirc/lirc_client.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
@ -29,7 +27,6 @@
|
|||||||
|
|
||||||
#include "common/msg.h"
|
#include "common/msg.h"
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
#include "lirc.h"
|
|
||||||
|
|
||||||
struct ctx {
|
struct ctx {
|
||||||
struct mp_log *log;
|
struct mp_log *log;
|
||||||
|
25
input/lirc.h
25
input/lirc.h
@ -1,25 +0,0 @@
|
|||||||
/*
|
|
||||||
* This file is part of MPlayer.
|
|
||||||
*
|
|
||||||
* MPlayer is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* MPlayer 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 General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License along
|
|
||||||
* with MPlayer; if not, write to the Free Software Foundation, Inc.,
|
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef MPLAYER_LIRC_H
|
|
||||||
#define MPLAYER_LIRC_H
|
|
||||||
|
|
||||||
struct input_ctx;
|
|
||||||
void mp_input_lirc_add(struct input_ctx *ictx, char *lirc_configfile);
|
|
||||||
|
|
||||||
#endif /* MPLAYER_LIRC_H */
|
|
Loading…
Reference in New Issue
Block a user