Initial code drop
[platform/upstream/gstreamer.git] / src / ges-timeline-layer.h
1 /* GStreamer Editing Services
2  * Copyright (C) 2009 Edward Hervey <bilboed@bilboed.com>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */
19
20 #ifndef _GES_TIMELINE_LAYER
21 #define _GES_TIMELINE_LAYER
22
23 #include <glib-object.h>
24
25 G_BEGIN_DECLS
26
27 #define GES_TYPE_TIMELINE_LAYER ges_timeline_layer_get_type()
28
29 #define GES_TIMELINE_LAYER(obj) \
30   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_TIMELINE_LAYER, GESTimelineLayer))
31
32 #define GES_TIMELINE_LAYER_CLASS(klass) \
33   (G_TYPE_CHECK_CLASS_CAST ((klass), GES_TYPE_TIMELINE_LAYER, GESTimelineLayerClass))
34
35 #define GES_IS_TIMELINE_LAYER(obj) \
36   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GES_TYPE_TIMELINE_LAYER))
37
38 #define GES_IS_TIMELINE_LAYER_CLASS(klass) \
39   (G_TYPE_CHECK_CLASS_TYPE ((klass), GES_TYPE_TIMELINE_LAYER))
40
41 #define GES_TIMELINE_LAYER_GET_CLASS(obj) \
42   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_LAYER, GESTimelineLayerClass))
43
44 typedef struct {
45   GObject parent;
46 } GESTimelineLayer;
47
48 typedef struct {
49   GObjectClass parent_class;
50 } GESTimelineLayerClass;
51
52 GType ges_timeline_layer_get_type (void);
53
54 GESTimelineLayer* ges_timeline_layer_new (void);
55
56 G_END_DECLS
57
58 #endif /* _GES_TIMELINE_LAYER */
59