Add misc/url.* with m_url_(un)escaped_form
[libquvi.git] / src / quvi-0.9 / quvi / qsubtprop.h
blob896fd2fb126882e221298f4a7c22793f2ca104f4
1 /* libquvi
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/>.
21 #ifndef qsubtprop_h
22 #define qsubtprop_h
24 /** @file qsubtprop.h */
26 /** @enum QuviSubtitleType */
27 typedef enum
29 QUVI_SUBTITLE_TYPE_NONE,
30 QUVI_SUBTITLE_TYPE_TTS,
31 QUVI_SUBTITLE_TYPE_CC
32 } QuviSubtitleType;
34 /** @enum QuviSubtitleFormat (internal) */
35 typedef enum
37 QUVI_SUBTITLE_FORMAT_NONE,
38 QUVI_SUBTITLE_FORMAT_TT
39 } QuviSubtitleFormat;
41 /** @cond NODOC */
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
47 /** @endcond */
49 /** @enum QuviSubtitleTypeProperty */
50 typedef enum
52 /* double */
53 QUVI_SUBTITLE_TYPE_PROPERTY_FORMAT = QUVI_SUBTITLE_PROPERTY_TYPE_DOUBLE+1,
54 QUVI_SUBTITLE_TYPE_PROPERTY_TYPE
55 } QuviSubtitleTypeProperty;
57 /** @enum QuviSubtitleLangProperty */
58 typedef enum
60 /* string */
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: */