video-transition: Make smpte props children properties
[platform/upstream/gst-editing-services.git] / ges / ges-video-transition.h
1 /* GStreamer Editing Services
2  * Copyright (C) 2010 Brandon Lewis <brandon.lewis@collabora.co.uk>
3  *               2010 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-transition.h>
26
27 G_BEGIN_DECLS
28
29 #define GES_TYPE_VIDEO_TRANSITION ges_video_transition_get_type()
30 GES_DECLARE_TYPE(VideoTransition, video_transition, VIDEO_TRANSITION);
31
32 /**
33  * GESVideoTransition:
34  */
35
36 struct _GESVideoTransition {
37   GESTransition parent;
38
39   /*< private >*/
40
41   GESVideoTransitionPrivate *priv;
42
43   /* Padding for API extension */
44   gpointer _ges_reserved[GES_PADDING];
45 };
46
47 /**
48  * GESVideoTransitionClass:
49  * @parent_class: parent class
50  *
51  */
52
53 struct _GESVideoTransitionClass {
54   GESTransitionClass parent_class;
55
56   /*< private >*/
57   /* Padding for API extension */
58   gpointer _ges_reserved[GES_PADDING];
59 };
60
61 GES_DEPRECATED
62 GESVideoTransition* ges_video_transition_new (void);
63
64 GES_API
65 gboolean ges_video_transition_set_transition_type (GESVideoTransition * self,
66                                                          GESVideoStandardTransitionType type);
67 GES_API GESVideoStandardTransitionType
68 ges_video_transition_get_transition_type          (GESVideoTransition * trans);
69
70 GES_DEPRECATED_FOR(ges_timeline_element_set_children_properties)
71 void ges_video_transition_set_border              (GESVideoTransition * self,
72                                                          guint value);
73 GES_DEPRECATED_FOR(ges_timeline_element_get_children_properties)
74 gint ges_video_transition_get_border              (GESVideoTransition * self);
75
76 GES_DEPRECATED_FOR(ges_timeline_element_set_children_properties)
77 void ges_video_transition_set_inverted            (GESVideoTransition * self,
78                                                          gboolean inverted);
79 GES_DEPRECATED_FOR(ges_timeline_element_get_children_properties)
80 gboolean ges_video_transition_is_inverted        (GESVideoTransition * self);
81
82 G_END_DECLS