1 /* GStreamer Editing Services
2 * Copyright (C) 2010 Brandon Lewis <brandon@collabora.co.uk>
3 * 2010 Nokia Corporation
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.
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.
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., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #ifndef _GES_TRACK_TRANSITION
22 #define _GES_TRACK_TRANSITION
24 #include <glib-object.h>
26 #include <gst/controller/gstinterpolationcontrolsource.h>
27 #include <ges/ges-types.h>
28 #include <ges/ges-track-operation.h>
32 #define GES_TYPE_TRACK_TRANSITION ges_track_transition_get_type()
34 #define GES_TRACK_TRANSITION(obj) \
35 (G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_TRACK_TRANSITION,\
38 #define GES_TRACK_TRANSITION_CLASS(klass) \
39 (G_TYPE_CHECK_CLASS_CAST ((klass), GES_TYPE_TRACK_TRANSITION,\
40 GESTrackTransitionClass))
42 #define GES_IS_TRACK_TRANSITION(obj) \
43 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GES_TYPE_TRACK_TRANSITION))
45 #define GES_IS_TRACK_TRANSITION_CLASS(klass) \
46 (G_TYPE_CHECK_CLASS_TYPE ((klass), GES_TYPE_TRACK_TRANSITION))
48 #define GES_TRACK_TRANSITION_GET_CLASS(obj) \
49 (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_TRANSITION,\
50 GESTrackTransitionClass))
52 typedef struct _GESTrackTransitionPrivate GESTrackTransitionPrivate;
57 * Base class for media transitions.
60 struct _GESTrackTransition
63 GESTrackOperation parent;
65 GESTrackTransitionPrivate *priv;
67 /* Padding for API extension */
68 gpointer _ges_reserved[GES_PADDING];
72 * GESTrackTransitionClass:
75 struct _GESTrackTransitionClass {
77 GESTrackOperationClass parent_class;
80 /* Padding for API extension */
81 gpointer _ges_reserved[GES_PADDING];
84 GType ges_track_transition_get_type (void);