Mercurial > mplayer.hg
annotate libass/ass_library.h @ 25866:178006e9ea75
Replace with the output of the updated alaw-gen generator program.
This adds multiple inclusion guards and reformats the tables.
author | diego |
---|---|
date | Sun, 27 Jan 2008 18:49:24 +0000 |
parents | 3baf6a2283da |
children | aaebaf255b23 |
rev | line source |
---|---|
20477 | 1 // -*- c-basic-offset: 8; indent-tabs-mode: t -*- |
2 // vim:ts=8:sw=8:noet:ai: | |
3 /* | |
4 Copyright (C) 2006 Evgeniy Stepanov <eugeni.stepanov@gmail.com> | |
5 | |
6 This program is free software; you can redistribute it and/or modify | |
7 it under the terms of the GNU General Public License as published by | |
8 the Free Software Foundation; either version 2 of the License, or | |
9 (at your option) any later version. | |
10 | |
11 This program is distributed in the hope that it will be useful, | |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 GNU General Public License for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
17 along with this program; if not, write to the Free Software | |
18 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
19 */ | |
20 | |
23689
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
21458
diff
changeset
|
21 #ifndef ASS_LIBRARY_H |
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
21458
diff
changeset
|
22 #define ASS_LIBRARY_H |
20477 | 23 |
21458
7af6c25a0cfc
Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents:
20477
diff
changeset
|
24 typedef struct ass_fontdata_s { |
7af6c25a0cfc
Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents:
20477
diff
changeset
|
25 char* name; |
7af6c25a0cfc
Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents:
20477
diff
changeset
|
26 char* data; |
7af6c25a0cfc
Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents:
20477
diff
changeset
|
27 int size; |
7af6c25a0cfc
Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents:
20477
diff
changeset
|
28 } ass_fontdata_t; |
7af6c25a0cfc
Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents:
20477
diff
changeset
|
29 |
20477 | 30 struct ass_library_s { |
31 char* fonts_dir; | |
32 int extract_fonts; | |
33 char** style_overrides; | |
21458
7af6c25a0cfc
Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents:
20477
diff
changeset
|
34 |
7af6c25a0cfc
Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents:
20477
diff
changeset
|
35 ass_fontdata_t* fontdata; |
7af6c25a0cfc
Keep embedded fonts in ass_library_t and perform actual disk write
eugeni
parents:
20477
diff
changeset
|
36 int num_fontdata; |
20477 | 37 }; |
38 | |
25535
3baf6a2283da
Add explanatory comments to the #endif part of multiple inclusion guards.
diego
parents:
23689
diff
changeset
|
39 #endif /* ASS_LIBRARY_H */ |