1 /* GStreamer Editing Services
2  * Copyright (C) 2009 Edward Hervey <edward.hervey@collabora.co.uk>
3  *               2009 Nokia Corporation
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  */
20 
21 #ifndef _GES_SOURCE_CLIP
22 #define _GES_SOURCE_CLIP
23 
24 #include <glib-object.h>
25 #include <ges/ges-types.h>
26 #include <ges/ges-clip.h>
27 #include <ges/ges-enums.h>
28 
29 G_BEGIN_DECLS
30 
31 #define GES_TYPE_SOURCE_CLIP ges_source_clip_get_type()
32 
33 #define GES_SOURCE_CLIP(obj) \
34   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_SOURCE_CLIP, GESSourceClip))
35 
36 #define GES_SOURCE_CLIP_CLASS(klass) \
37   (G_TYPE_CHECK_CLASS_CAST ((klass), GES_TYPE_SOURCE_CLIP, GESSourceClipClass))
38 
39 #define GES_IS_SOURCE_CLIP(obj) \
40   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GES_TYPE_SOURCE_CLIP))
41 
42 #define GES_IS_SOURCE_CLIP_CLASS(klass) \
43   (G_TYPE_CHECK_CLASS_TYPE ((klass), GES_TYPE_SOURCE_CLIP))
44 
45 #define GES_SOURCE_CLIP_GET_CLASS(obj) \
46   (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_SOURCE_CLIP, GESSourceClipClass))
47 
48 typedef struct _GESSourceClipPrivate GESSourceClipPrivate;
49 
50 /**
51  * GESSourceClip:
52  *
53  * Base class for sources of a #GESLayer
54  */
55 
56 struct _GESSourceClip {
57   GESClip parent;
58 
59   /*< private >*/
60   GESSourceClipPrivate *priv;
61 
62   /* Padding for API extension */
63   gpointer _ges_reserved[GES_PADDING];
64 };
65 
66 /**
67  * GESSourceClipClass:
68  */
69 
70 struct _GESSourceClipClass {
71   /*< private >*/
72   GESClipClass parent_class;
73 
74   /* Padding for API extension */
75   gpointer _ges_reserved[GES_PADDING];
76 };
77 
78 GES_API
79 GType ges_source_clip_get_type (void);
80 
81 G_END_DECLS
82 
83 #endif /* _GES_SOURCE_CLIP */
84 
85