1/* GStreamer
2 * Copyright (C) 2010, 2012 Alexander Saprykin <xelfium@gmail.com>
3 *
4 * gsttocsetter.h: Interfaces for TOC
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
18 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 */
21
22#ifndef __GST_TOC_SETTER_H__
23#define __GST_TOC_SETTER_H__
24
25#include <gst/gst.h>
26
27G_BEGIN_DECLS
28
29#define GST_TYPE_TOC_SETTER (gst_toc_setter_get_type ())
30#define GST_TOC_SETTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TOC_SETTER, GstTocSetter))
31#define GST_IS_TOC_SETTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_TOC_SETTER))
32#define GST_TOC_SETTER_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_TOC_SETTER, GstTocSetterInterface))
33/**
34 * GstTocSetter:
35 *
36 * Opaque #GstTocSetter data structure.
37 */
38typedef struct _GstTocSetter GstTocSetter;
39typedef struct _GstTocSetterInterface GstTocSetterInterface;
40
41/**
42 * GstTocSetterInterface:
43 * @g_iface: parent interface type.
44 *
45 * #GstTocSetterInterface interface.
46 */
47
48struct _GstTocSetterInterface
49{
50 GTypeInterface g_iface;
51
52 /* signals */
53
54 /* virtual table */
55};
56
57GST_API
58GType gst_toc_setter_get_type (void);
59
60GST_API
61void gst_toc_setter_reset (GstTocSetter *setter);
62
63GST_API
64GstToc * gst_toc_setter_get_toc (GstTocSetter *setter);
65
66GST_API
67void gst_toc_setter_set_toc (GstTocSetter *setter, GstToc *toc);
68
69G_END_DECLS
70
71#endif /* __GST_TOC_SETTER_H__ */
72
73

source code of include/gstreamer-1.0/gst/gsttocsetter.h