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_TRANSITION_CLIP 22 #define _GES_TRANSITION_CLIP 23 24 #include <glib-object.h> 25 #include <ges/ges-types.h> 26 #include <ges/ges-base-transition-clip.h> 27 28 G_BEGIN_DECLS 29 30 #define GES_TYPE_TRANSITION_CLIP ges_transition_clip_get_type() 31 32 #define GES_TRANSITION_CLIP(obj) \ 33 (G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_TRANSITION_CLIP, GESTransitionClip)) 34 35 #define GES_TRANSITION_CLIP_CLASS(klass) \ 36 (G_TYPE_CHECK_CLASS_CAST ((klass), GES_TYPE_TRANSITION_CLIP, GESTransitionClipClass)) 37 38 #define GES_IS_TRANSITION_CLIP(obj) \ 39 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GES_TYPE_TRANSITION_CLIP)) 40 41 #define GES_IS_TRANSITION_CLIP_CLASS(klass) \ 42 (G_TYPE_CHECK_CLASS_TYPE ((klass), GES_TYPE_TRANSITION_CLIP)) 43 44 #define GES_TRANSITION_CLIP_GET_CLASS(obj) \ 45 (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRANSITION_CLIP, GESTransitionClipClass)) 46 47 typedef struct _GESTransitionClipPrivate GESTransitionClipPrivate; 48 49 /** 50 * GESTransitionClip: 51 * @vtype: a #GESVideoStandardTransitionType indicating the type of video transition 52 * to apply. 53 */ 54 struct _GESTransitionClip { 55 /*< private >*/ 56 GESBaseTransitionClip parent; 57 58 /*< public >*/ 59 GESVideoStandardTransitionType vtype; 60 61 /*< private >*/ 62 GESTransitionClipPrivate *priv; 63 64 /* Padding for API extension */ 65 gpointer _ges_reserved[GES_PADDING]; 66 }; 67 68 /** 69 * GESTransitionClipClass: 70 * 71 */ 72 73 struct _GESTransitionClipClass { 74 /*< private >*/ 75 GESBaseTransitionClipClass parent_class; 76 77 /* Padding for API extension */ 78 gpointer _ges_reserved[GES_PADDING]; 79 }; 80 81 GES_API 82 GType ges_transition_clip_get_type (void); 83 84 GES_API 85 GESTransitionClip *ges_transition_clip_new (GESVideoStandardTransitionType vtype); 86 GES_API 87 GESTransitionClip *ges_transition_clip_new_for_nick (char *nick); 88 89 G_END_DECLS 90 91 #endif /* _GES_TRANSITION_CLIP */ 92