annotate libass/mputils.h @ 33614:79743a5cf4f0

Rename the symbolic playback state constants. They should not be confused with the guiGetEvent types. Upper case charcaters shall reflect that they are (integer) constants. Additionally, adjust their casts.
author ib
date Wed, 22 Jun 2011 12:12:50 +0000
parents fbe5c829c69b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26725
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
1 /*
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
2 * Copyright (C) 2006 Evgeniy Stepanov <eugeni.stepanov@gmail.com>
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
3 *
26738
588ce97b44f2 Speak of libass instead of MPlayer in the libass license headers.
diego
parents: 26725
diff changeset
4 * This file is part of libass.
26725
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
5 *
26738
588ce97b44f2 Speak of libass instead of MPlayer in the libass license headers.
diego
parents: 26725
diff changeset
6 * libass is free software; you can redistribute it and/or modify
26725
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
7 * it under the terms of the GNU General Public License as published by
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
8 * the Free Software Foundation; either version 2 of the License, or
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
9 * (at your option) any later version.
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
10 *
26738
588ce97b44f2 Speak of libass instead of MPlayer in the libass license headers.
diego
parents: 26725
diff changeset
11 * libass is distributed in the hope that it will be useful,
26725
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
14 * GNU General Public License for more details.
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
15 *
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
16 * You should have received a copy of the GNU General Public License along
26738
588ce97b44f2 Speak of libass instead of MPlayer in the libass license headers.
diego
parents: 26725
diff changeset
17 * with libass; if not, write to the Free Software Foundation, Inc.,
26725
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
19 */
0bea158396bc Add standard license header.
diego
parents: 25897
diff changeset
20
25897
aaebaf255b23 Consistently give all libass multiple inclusion guards a LIBASS_ prefix.
diego
parents: 25869
diff changeset
21 #ifndef LIBASS_MPUTILS_H
aaebaf255b23 Consistently give all libass multiple inclusion guards a LIBASS_ prefix.
diego
parents: 25869
diff changeset
22 #define LIBASS_MPUTILS_H
21026
d138463e820b Collect all includes of mplayer headers in libass in a single file (mputils.h).
eugeni
parents:
diff changeset
23
d138463e820b Collect all includes of mplayer headers in libass in a single file (mputils.h).
eugeni
parents:
diff changeset
24 #include "mp_msg.h"
21066
6196ba31e97e MSGTRs for libass
kraymer
parents: 21026
diff changeset
25 #include "help_mp.h"
32466
9e627a1793b1 Move font_load.[ch], font_load_ft.c and osd_font.h from libvo to sub.
cigaes
parents: 32454
diff changeset
26 #include "sub/font_load.h" // for blur()
32454
69d3be4d52a2 Create a new directory, "sub", for subtitles and OSD related code.
cigaes
parents: 26738
diff changeset
27 #include "sub/subreader.h" // for guess_buffer_cp
32467
fbe5c829c69b Move libvo/sub.[ch] from libvo to sub.
cigaes
parents: 32466
diff changeset
28 #include "sub/sub.h" // for utf8_get_char
21026
d138463e820b Collect all includes of mplayer headers in libass in a single file (mputils.h).
eugeni
parents:
diff changeset
29 #include "libavutil/common.h"
d138463e820b Collect all includes of mplayer headers in libass in a single file (mputils.h).
eugeni
parents:
diff changeset
30
25897
aaebaf255b23 Consistently give all libass multiple inclusion guards a LIBASS_ prefix.
diego
parents: 25869
diff changeset
31 #endif /* LIBASS_MPUTILS_H */