Add misc/url.* with m_url_(un)escaped_form
[libquvi.git] / src / _quvi_subtitle_s.h
blobcec364bb9111a91868c0112a4016f2c80a61e5c8
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 _quvi_subtitle_s_h
22 #define _quvi_subtitle_s_h
24 /* subtitle */
26 struct _quvi_subtitle_s
28 struct
30 GString *input;
31 } url;
32 struct
34 _quvi_t quvi;
35 } handle;
36 struct
38 GSList *type;
39 } curr;
40 GSList *types; /* of _quvi_subtitle_type_s */
43 typedef struct _quvi_subtitle_s *_quvi_subtitle_t;
45 /* data */
47 struct _quvi_subtitle_type_s
49 struct
51 _quvi_t quvi;
52 } handle;
53 struct
55 GSList *language;
56 } curr;
57 GSList *languages; /* of _quvi_subtitle_lang_s */
58 gdouble format;
59 gdouble type;
62 typedef struct _quvi_subtitle_type_s *_quvi_subtitle_type_t;
64 /* lang */
66 struct _quvi_subtitle_lang_s
68 struct
70 _quvi_t quvi;
71 } handle;
72 GString *translated;
73 GString *original;
74 gdouble format;
75 GString *code;
76 GString *url;
77 GString *id;
80 typedef struct _quvi_subtitle_lang_s *_quvi_subtitle_lang_t;
82 #endif /* _quvi_subtitle_s_h */
84 /* vim: set ts=2 sw=2 tw=72 expandtab: */