command-line-formatter: Stop uselessly looping over options
[platform/upstream/gstreamer.git] / ges / ges-effect.h
1 /* GStreamer Editing Services
2  * Copyright (C) 2010 Thibault Saunier <thibault.saunier@collabora.co.uk>
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., 51 Franklin St, Fifth Floor,
17  * Boston, MA 02110-1301, USA.
18  */
19
20 #pragma once
21
22 #include <glib-object.h>
23 #include <ges/ges-types.h>
24 #include <ges/ges-base-effect.h>
25
26 G_BEGIN_DECLS
27 #define GES_TYPE_EFFECT ges_effect_get_type()
28 GES_DECLARE_TYPE(Effect, effect, EFFECT);
29
30 /**
31  * GESEffect:
32  *
33  */
34 struct _GESEffect
35 {
36   /*< private > */
37   GESBaseEffect parent;
38   GESEffectPrivate *priv;
39
40   /* Padding for API extension */
41   gpointer _ges_reserved[GES_PADDING];
42 };
43
44 /**
45  * GESEffectClass:
46  * @parent_class: parent class
47  */
48
49 struct _GESEffectClass
50 {
51   /*< private > */
52   GESBaseEffectClass parent_class;
53
54   GList *rate_properties;
55
56   /* Padding for API extension */
57   gpointer _ges_reserved[GES_PADDING];
58
59 };
60
61 GES_API GESEffect*
62 ges_effect_new (const gchar * bin_description);
63
64 GES_API gboolean
65 ges_effect_class_register_rate_property (GESEffectClass *klass, const gchar *element_name, const gchar *property_name);
66
67 G_END_DECLS