command-line-formatter: Stop uselessly looping over options
[platform/upstream/gstreamer.git] / ges / ges-transition-clip.h
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 #pragma once
22
23 #include <glib-object.h>
24 #include <ges/ges-types.h>
25 #include <ges/ges-base-transition-clip.h>
26
27 G_BEGIN_DECLS
28
29 #define GES_TYPE_TRANSITION_CLIP ges_transition_clip_get_type()
30 GES_DECLARE_TYPE(TransitionClip, transition_clip, TRANSITION_CLIP);
31
32 /**
33  * GESTransitionClip:
34  * @vtype: a #GESVideoStandardTransitionType indicating the type of video transition
35  * to apply.
36  *
37  * ### Children Properties
38  *
39  *  {{ libs/GESTransitionClip-children-props.md }}
40  */
41 struct _GESTransitionClip {
42   /*< private >*/
43   GESBaseTransitionClip parent;
44
45   /*< public >*/
46   GESVideoStandardTransitionType vtype;
47
48   /*< private >*/
49   GESTransitionClipPrivate *priv;
50
51   /* Padding for API extension */
52   gpointer _ges_reserved[GES_PADDING];
53 };
54
55 /**
56  * GESTransitionClipClass:
57  *
58  */
59
60 struct _GESTransitionClipClass {
61   /*< private >*/
62   GESBaseTransitionClipClass parent_class;
63
64   /* Padding for API extension */
65   gpointer _ges_reserved[GES_PADDING];
66 };
67
68 GES_API
69 GESTransitionClip *ges_transition_clip_new (GESVideoStandardTransitionType vtype);
70 GES_API
71 GESTransitionClip *ges_transition_clip_new_for_nick (char *nick);
72
73 G_END_DECLS