Mercurial > mplayer.hg
annotate parser-mecmd.h @ 26658:1e1ebebc8f5b
Remove extra family names from the search pattern after FcFontSort and
call FcFontRenderPrepare to select the best family name for the font in case
there are several of them.
This does not affect font matching results, but helps to avoid warning about
inexact match.
author | eugeni |
---|---|
date | Thu, 08 May 2008 13:53:56 +0000 |
parents | 83c95bd31aab |
children | c1a3f1bbba26 |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_PARSER_MECMD_H |
2 #define MPLAYER_PARSER_MECMD_H | |
8164 | 3 |
26131
83c95bd31aab
Add necessary #includes to pass 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
4 #include "m_config.h" |
83c95bd31aab
Add necessary #includes to pass 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
5 |
18265 | 6 /// \file |
7 /// \ingroup ConfigParsers MEntry | |
8 /// \brief A simple parser with per-entry settings. | |
8164 | 9 |
18265 | 10 /// \defgroup MEntry MEncoder's playlist |
11 ///@{ | |
12 | |
13 /// Playlist entry | |
8164 | 14 typedef struct m_entry_st { |
18265 | 15 /// Filename, url or whatever. |
16 char* name; | |
17 /// NULL terminated list of name,val pairs. | |
18 char** opts; | |
8164 | 19 } m_entry_t; |
20 | |
18265 | 21 /// Free a list returned by \ref m_config_parse_me_command_line. |
8164 | 22 void |
23 m_entry_list_free(m_entry_t* lst); | |
18265 | 24 |
25 /// Helper to set all config options from an entry. | |
8164 | 26 int |
27 m_entry_set_options(m_config_t *config, m_entry_t* entry); | |
28 | |
18265 | 29 /// Setup the \ref Config from command line arguments and build a playlist. |
30 /** \ingroup ConfigParsers | |
31 */ | |
8164 | 32 m_entry_t* |
33 m_config_parse_me_command_line(m_config_t *config, int argc, char **argv); | |
34 | |
18265 | 35 ///@} |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
18265
diff
changeset
|
36 |
26029 | 37 #endif /* MPLAYER_PARSER_MECMD_H */ |