2 * Copyright (C) 2013 Toni Gundogdu <legatvs@gmail.com>
4 * This file is part of libquvi <http://quvi.sourceforge.net/>.
6 * This library is free software: you can redistribute it and/or
7 * modify it under the terms of the GNU Affero General Public
8 * License as published by the Free Software Foundation, either
9 * version 3 of the License, or (at your option) any later version.
11 * This library 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 Affero General Public License for more details.
16 * You should have received a copy of the GNU Affero General
17 * Public License along with this library. If not, see
18 * <http://www.gnu.org/licenses/>.
24 /** @file qsubtprop.h */
26 /** @enum QuviSubtitleType */
29 QUVI_SUBTITLE_TYPE_NONE
,
30 QUVI_SUBTITLE_TYPE_TTS
,
34 /** @enum QuviSubtitleFormat (internal) */
37 QUVI_SUBTITLE_FORMAT_NONE
,
38 QUVI_SUBTITLE_FORMAT_TT
42 #define QUVI_SUBTITLE_PROPERTY_TYPE_STRING 0x100000
43 #define QUVI_SUBTITLE_PROPERTY_TYPE_LONG 0x200000
44 #define QUVI_SUBTITLE_PROPERTY_TYPE_DOUBLE 0x300000
45 #define QUVI_SUBTITLE_PROPERTY_TYPE_VOID 0x400000
46 #define QUVI_SUBTITLE_PROPERTY_TYPE_MASK 0xf00000
49 /** @enum QuviSubtitleTypeProperty */
53 QUVI_SUBTITLE_TYPE_PROPERTY_FORMAT
= QUVI_SUBTITLE_PROPERTY_TYPE_DOUBLE
+1,
54 QUVI_SUBTITLE_TYPE_PROPERTY_TYPE
55 } QuviSubtitleTypeProperty
;
57 /** @enum QuviSubtitleLangProperty */
61 QUVI_SUBTITLE_LANG_PROPERTY_TRANSLATED
= QUVI_SUBTITLE_PROPERTY_TYPE_STRING
+1,
62 QUVI_SUBTITLE_LANG_PROPERTY_ORIGINAL
,
63 QUVI_SUBTITLE_LANG_PROPERTY_CODE
,
64 QUVI_SUBTITLE_LANG_PROPERTY_URL
,
65 QUVI_SUBTITLE_LANG_PROPERTY_ID
66 } QuviSubtitleLangProperty
;
68 #endif /* qsubtprop_h */
70 /* vim: set ts=2 sw=2 tw=72 expandtab: */