Skip to content

Commit

Permalink
Add necessary #includes to pass 'make checkheaders'.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26163 b3059339-0415-0410-9bf9-f77b7e298cf2
  • Loading branch information
diego committed Mar 4, 2008
1 parent 2a9e515 commit b5ed673
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 1 deletion.
3 changes: 3 additions & 0 deletions command.h
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
3 changes: 2 additions & 1 deletion fmt-conversion.h
Original file line number Diff line number Diff line change
@@ -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)
{
Expand Down
2 changes: 2 additions & 0 deletions m_option.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions m_property.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 8 additions & 0 deletions mp_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions mpbswap.h
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
4 changes: 4 additions & 0 deletions mpcommon.h
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 2 additions & 0 deletions parser-cfg.h
Original file line number Diff line number Diff line change
@@ -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 */
2 changes: 2 additions & 0 deletions parser-mecmd.h
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 3 additions & 0 deletions parser-mpcmd.h
Original file line number Diff line number Diff line change
@@ -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 */
2 changes: 2 additions & 0 deletions playtreeparser.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef MPLAYER_PLAYTREEPARSER_H
#define MPLAYER_PLAYTREEPARSER_H

#include "playtree.h"

/// \defgroup PlaytreeParser Playtree parser
/// \ingroup Playtree
///
Expand Down

0 comments on commit b5ed673

Please sign in to comment.