Initial code drop
[platform/upstream/gstreamer.git] / src / ges-simple-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_SIMPLE_TIMELINE_LAYER
21 #define _GES_SIMPLE_TIMELINE_LAYER
22
23 #include <glib-object.h>
24 #include "ges-timeline-layer.h"
25
26 G_BEGIN_DECLS
27
28 #define GES_TYPE_SIMPLE_TIMELINE_LAYER ges_simple_timeline_layer_get_type()
29
30 #define GES_SIMPLE_TIMELINE_LAYER(obj) \
31   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_SIMPLE_TIMELINE_LAYER, GESSimpleTimelineLayer))
32
33 #define GES_SIMPLE_TIMELINE_LAYER_CLASS(klass) \
34   (G_TYPE_CHECK_CLASS_CAST ((klass), GES_TYPE_SIMPLE_TIMELINE_LAYER, GESSimpleTimelineLayerClass))
35
36 #define GES_IS_SIMPLE_TIMELINE_LAYER(obj) \
37   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GES_TYPE_SIMPLE_TIMELINE_LAYER))
38
39 #define GES_IS_SIMPLE_TIMELINE_LAYER_CLASS(klass) \
40   (G_TYPE_CHECK_CLASS_TYPE ((klass), GES_TYPE_SIMPLE_TIMELINE_LAYER))
41
42 #define GES_SIMPLE_TIMELINE_LAYER_GET_CLASS(obj) \
43   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_SIMPLE_TIMELINE_LAYER, GESSimpleTimelineLayerClass))
44
45 typedef struct {
46   GESTimelineLayer parent;
47 } GESSimpleTimelineLayer;
48
49 typedef struct {
50   GESTimelineLayerClass parent_class;
51 } GESSimpleTimelineLayerClass;
52
53 GType ges_simple_timeline_layer_get_type (void);
54
55 GESSimpleTimelineLayer* ges_simple_timeline_layer_new (void);
56
57 G_END_DECLS
58
59 #endif /* _GES_SIMPLE_TIMELINE_LAYER */
60