[MPlayer-cvslog] r26163 - in trunk: 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

diego subversion at mplayerhq.hu
Wed Mar 5 00:35:24 CET 2008


Author: diego
Date: Wed Mar  5 00:35:24 2008
New Revision: 26163

Log:
Add necessary #includes to pass 'make checkheaders'.


Modified:
   trunk/command.h
   trunk/fmt-conversion.h
   trunk/m_option.h
   trunk/m_property.h
   trunk/mp_core.h
   trunk/mpbswap.h
   trunk/mpcommon.h
   trunk/parser-cfg.h
   trunk/parser-mecmd.h
   trunk/parser-mpcmd.h
   trunk/playtreeparser.h

Modified: trunk/command.h
==============================================================================
--- trunk/command.h	(original)
+++ trunk/command.h	Wed Mar  5 00:35:24 2008
@@ -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);

Modified: trunk/fmt-conversion.h
==============================================================================
--- trunk/fmt-conversion.h	(original)
+++ trunk/fmt-conversion.h	Wed Mar  5 00:35:24 2008
@@ -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)
 {

Modified: trunk/m_option.h
==============================================================================
--- trunk/m_option.h	(original)
+++ trunk/m_option.h	Wed Mar  5 00:35:24 2008
@@ -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

Modified: trunk/m_property.h
==============================================================================
--- trunk/m_property.h	(original)
+++ trunk/m_property.h	Wed Mar  5 00:35:24 2008
@@ -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

Modified: trunk/mp_core.h
==============================================================================
--- trunk/mp_core.h	(original)
+++ trunk/mp_core.h	Wed Mar  5 00:35:24 2008
@@ -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
 

Modified: trunk/mpbswap.h
==============================================================================
--- trunk/mpbswap.h	(original)
+++ trunk/mpbswap.h	Wed Mar  5 00:35:24 2008
@@ -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);

Modified: trunk/mpcommon.h
==============================================================================
--- trunk/mpcommon.h	(original)
+++ trunk/mpcommon.h	Wed Mar  5 00:35:24 2008
@@ -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;

Modified: trunk/parser-cfg.h
==============================================================================
--- trunk/parser-cfg.h	(original)
+++ trunk/parser-cfg.h	Wed Mar  5 00:35:24 2008
@@ -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 */

Modified: trunk/parser-mecmd.h
==============================================================================
--- trunk/parser-mecmd.h	(original)
+++ trunk/parser-mecmd.h	Wed Mar  5 00:35:24 2008
@@ -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.

Modified: trunk/parser-mpcmd.h
==============================================================================
--- trunk/parser-mpcmd.h	(original)
+++ trunk/parser-mpcmd.h	Wed Mar  5 00:35:24 2008
@@ -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 */

Modified: trunk/playtreeparser.h
==============================================================================
--- trunk/playtreeparser.h	(original)
+++ trunk/playtreeparser.h	Wed Mar  5 00:35:24 2008
@@ -1,6 +1,8 @@
 #ifndef MPLAYER_PLAYTREEPARSER_H
 #define MPLAYER_PLAYTREEPARSER_H
 
+#include "playtree.h"
+
 /// \defgroup PlaytreeParser Playtree parser
 /// \ingroup Playtree
 ///



More information about the MPlayer-cvslog mailing list