blob: f2f24641f34f49623c93967ecab9ae99606e66f4 [file] [log] [blame]
Olivier Naudanb28313f2012-04-16 08:10:18 -04001/* -*- c-basic-offset: 2 -*-
2 * GStreamer
3 * Copyright (C) <2006> James Livingston <doclivingston@gmail.com>
4 * Copyright (C) <2008> Vincent Penquerc'h <ogg.k.ogg.k@googlemail.com>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
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 GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
Sebastian Drögee6513c12013-07-14 12:12:42 +020018 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
Olivier Naudanb28313f2012-04-16 08:10:18 -040020 */
21
22
23#ifndef __GST_KATE_TAG_H__
24#define __GST_KATE_TAG_H__
25
26#include "gstkateparse.h"
27
28G_BEGIN_DECLS
29#define GST_TYPE_KATE_TAG \
30 (gst_kate_tag_get_type())
31#define GST_KATE_TAG(obj) \
32 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_KATE_TAG,GstKateTag))
33#define GST_KATE_TAG_CLASS(klass) \
34 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_KATE_TAG,GstKateTagClass))
35#define GST_IS_KATE_TAG(obj) \
36 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_KATE_TAG))
37#define GST_IS_KATE_TAG_CLASS(klass) \
38 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_KATE_TAG))
39typedef struct _GstKateTag GstKateTag;
40typedef struct _GstKateTagClass GstKateTagClass;
41
42/**
43 * GstKateTag:
44 *
45 * Opaque data structure.
46 */
47struct _GstKateTag
48{
49 GstKateParse parse;
50
51 gchar *language;
52 gchar *category;
53 gint original_canvas_width;
54 gint original_canvas_height;
55};
56
57struct _GstKateTagClass
58{
59 GstKateParseClass parent_class;
60};
61
62GType gst_kate_tag_get_type (void);
63
64G_END_DECLS
65#endif /* __GST_KATE_TAG_H__ */