changeset 26131:83c95bd31aab

Add necessary #includes to pass 'make checkheaders'.
author diego
date Tue, 04 Mar 2008 23:35:24 +0000
parents e17acc5feca4
children b6280829f7f8
files command.h fmt-conversion.h m_option.h m_property.h mp_core.h mpbswap.h mpcommon.h parser-cfg.h parser-mecmd.h parser-mpcmd.h playtreeparser.h
diffstat 11 files changed, 31 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/command.h	Tue Mar 04 21:45:36 2008 +0000
+++ b/command.h	Tue Mar 04 23:35:24 2008 +0000
@@ -1,6 +1,9 @@
 #ifndef MPLAYER_COMMAND_H
 #define MPLAYER_COMMAND_H
 
+#include "mp_core.h"
+#include "input/input.h"
+
 int run_command(struct MPContext *mpctx, mp_cmd_t *cmd);
 char *property_expand_string(struct MPContext *mpctx, char *str);
 void property_print_help(void);
--- a/fmt-conversion.h	Tue Mar 04 21:45:36 2008 +0000
+++ b/fmt-conversion.h	Tue Mar 04 23:35:24 2008 +0000
@@ -1,8 +1,9 @@
 #ifndef MPLAYER_FMT_CONVERSION_H
 #define MPLAYER_FMT_CONVERSION_H
 
+#include <stdio.h>
 #include "libavutil/avutil.h"
-#include "img_format.h"
+#include "libmpcodecs/img_format.h"
 
 enum PixelFormat imgfmt2pixfmt(int fmt)
 {
--- a/m_option.h	Tue Mar 04 21:45:36 2008 +0000
+++ b/m_option.h	Tue Mar 04 23:35:24 2008 +0000
@@ -1,6 +1,8 @@
 #ifndef MPLAYER_M_OPTION_H
 #define MPLAYER_M_OPTION_H
 
+#include <string.h>
+
 /// \defgroup Options
 /// m_option allows to parse, print and copy data of various types.
 /// It is the base of the \ref OptionsStruct, \ref Config and
--- a/m_property.h	Tue Mar 04 21:45:36 2008 +0000
+++ b/m_property.h	Tue Mar 04 23:35:24 2008 +0000
@@ -1,6 +1,8 @@
 #ifndef MPLAYER_M_PROPERTY_H
 #define MPLAYER_M_PROPERTY_H
 
+#include "m_option.h"
+
 /// \defgroup Properties
 ///
 /// Properties provide an interface to query and set the state of various
--- a/mp_core.h	Tue Mar 04 21:45:36 2008 +0000
+++ b/mp_core.h	Tue Mar 04 23:35:24 2008 +0000
@@ -2,6 +2,14 @@
 #define MPLAYER_MP_CORE_H
 
 #include "mp_osd.h"
+#include "libao2/audio_out.h"
+#include "playtree.h"
+#include "stream/stream.h"
+#include "libmpdemux/demuxer.h"
+#include "libmpdemux/stheader.h"
+#include "mixer.h"
+#include "libvo/video_out.h"
+#include "subreader.h"
 
 // definitions used internally by the core player code
 
--- a/mpbswap.h	Tue Mar 04 21:45:36 2008 +0000
+++ b/mpbswap.h	Tue Mar 04 23:35:24 2008 +0000
@@ -1,6 +1,7 @@
 #ifndef MPLAYER_MPBSWAP_H
 #define MPLAYER_MPBSWAP_H
 
+#include <sys/types.h>
 #include "libavutil/bswap.h"
 #ifndef HAVE_SWAB
 void swab(const void *from, void *to, ssize_t n);
--- a/mpcommon.h	Tue Mar 04 21:45:36 2008 +0000
+++ b/mpcommon.h	Tue Mar 04 23:35:24 2008 +0000
@@ -1,6 +1,10 @@
 #ifndef MPLAYER_MPCOMMON_H
 #define MPLAYER_MPCOMMON_H
 
+#include "subreader.h"
+#include "libmpdemux/demuxer.h"
+#include "libmpdemux/stheader.h"
+
 extern double sub_last_pts;
 extern struct ass_track_s *ass_track;
 extern subtitle *vo_sub_last;
--- a/parser-cfg.h	Tue Mar 04 21:45:36 2008 +0000
+++ b/parser-cfg.h	Tue Mar 04 23:35:24 2008 +0000
@@ -1,6 +1,8 @@
 #ifndef MPLAYER_PARSER_CFG_H
 #define MPLAYER_PARSER_CFG_H
 
+#include "m_config.h"
+
 int m_config_parse_config_file(m_config_t* config, char *conffile);
 
 #endif /* MPLAYER_PARSER_CFG_H */
--- a/parser-mecmd.h	Tue Mar 04 21:45:36 2008 +0000
+++ b/parser-mecmd.h	Tue Mar 04 23:35:24 2008 +0000
@@ -1,6 +1,8 @@
 #ifndef MPLAYER_PARSER_MECMD_H
 #define MPLAYER_PARSER_MECMD_H
 
+#include "m_config.h"
+
 /// \file
 /// \ingroup ConfigParsers MEntry
 /// \brief A simple parser with per-entry settings.
--- a/parser-mpcmd.h	Tue Mar 04 21:45:36 2008 +0000
+++ b/parser-mpcmd.h	Tue Mar 04 23:35:24 2008 +0000
@@ -1,6 +1,9 @@
 #ifndef MPLAYER_PARSER_MPCMD_H
 #define MPLAYER_PARSER_MPCMD_H
 
+#include "playtree.h"
+#include "m_config.h"
+
 play_tree_t* m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv);
 
 #endif /* MPLAYER_PARSER_MPCMD_H */
--- a/playtreeparser.h	Tue Mar 04 21:45:36 2008 +0000
+++ b/playtreeparser.h	Tue Mar 04 23:35:24 2008 +0000
@@ -1,6 +1,8 @@
 #ifndef MPLAYER_PLAYTREEPARSER_H
 #define MPLAYER_PLAYTREEPARSER_H
 
+#include "playtree.h"
+
 /// \defgroup PlaytreeParser Playtree parser
 /// \ingroup Playtree
 ///