2010-11-05 11:12:24 +00:00
|
|
|
/* GStreamer Editing Services
|
2011-01-21 10:11:12 +00:00
|
|
|
* Copyright (C) 2010 Thibault Saunier <thibault.saunier@collabora.co.uk>
|
2010-11-05 11:12:24 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
2012-11-04 00:25:20 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
2010-11-05 11:12:24 +00:00
|
|
|
*/
|
|
|
|
|
2013-01-26 15:35:19 +00:00
|
|
|
#ifndef _GES_BASE_EFFECT
|
|
|
|
#define _GES_BASE_EFFECT
|
2010-11-05 11:12:24 +00:00
|
|
|
|
|
|
|
#include <glib-object.h>
|
|
|
|
#include <ges/ges-types.h>
|
2013-01-27 15:27:19 +00:00
|
|
|
#include <ges/ges-operation.h>
|
2010-11-05 11:12:24 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
2011-02-10 11:17:50 +00:00
|
|
|
|
2013-01-26 15:35:19 +00:00
|
|
|
#define GES_TYPE_BASE_EFFECT ges_base_effect_get_type()
|
|
|
|
#define GES_BASE_EFFECT(obj) \
|
|
|
|
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_BASE_EFFECT, GESBaseEffect))
|
|
|
|
#define GES_BASE_EFFECT_CLASS(klass) \
|
|
|
|
(G_TYPE_CHECK_CLASS_CAST ((klass), GES_TYPE_BASE_EFFECT, GESBaseEffectClass))
|
|
|
|
#define GES_IS_BASE_EFFECT(obj) \
|
|
|
|
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GES_TYPE_BASE_EFFECT))
|
|
|
|
#define GES_IS_BASE_EFFECT_CLASS(klass) \
|
|
|
|
(G_TYPE_CHECK_CLASS_TYPE ((klass), GES_TYPE_BASE_EFFECT))
|
|
|
|
#define GES_BASE_EFFECT_GET_CLASS(obj) \
|
|
|
|
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_BASE_EFFECT, GESBaseEffectClass))
|
2010-11-15 22:32:23 +00:00
|
|
|
|
|
|
|
|
2013-01-26 15:35:19 +00:00
|
|
|
typedef struct _GESBaseEffectPrivate GESBaseEffectPrivate;
|
2010-11-15 22:32:23 +00:00
|
|
|
|
2010-11-05 11:12:24 +00:00
|
|
|
/**
|
2013-01-26 15:35:19 +00:00
|
|
|
* GESBaseEffect:
|
2010-11-05 11:12:24 +00:00
|
|
|
*/
|
2013-01-26 15:35:19 +00:00
|
|
|
struct _GESBaseEffect
|
2010-11-05 11:12:24 +00:00
|
|
|
{
|
|
|
|
/*< private > */
|
2013-01-27 15:27:19 +00:00
|
|
|
GESOperation parent;
|
2013-01-26 15:35:19 +00:00
|
|
|
GESBaseEffectPrivate *priv;
|
2011-02-01 20:23:22 +00:00
|
|
|
|
|
|
|
/* Padding for API extension */
|
|
|
|
gpointer _ges_reserved[GES_PADDING];
|
2010-11-05 11:12:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
2013-01-26 15:35:19 +00:00
|
|
|
* GESBaseEffectClass:
|
2010-11-05 11:12:24 +00:00
|
|
|
* @parent_class: parent class
|
|
|
|
*/
|
|
|
|
|
2013-01-26 15:35:19 +00:00
|
|
|
struct _GESBaseEffectClass
|
2010-11-05 11:12:24 +00:00
|
|
|
{
|
2011-02-01 20:23:22 +00:00
|
|
|
/*< private > */
|
2013-01-27 15:27:19 +00:00
|
|
|
GESOperationClass parent_class;
|
2011-02-01 20:23:22 +00:00
|
|
|
/* Padding for API extension */
|
|
|
|
gpointer _ges_reserved[GES_PADDING];
|
2010-11-05 11:12:24 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
2013-01-26 15:35:19 +00:00
|
|
|
GType ges_base_effect_get_type (void);
|
2010-11-05 11:12:24 +00:00
|
|
|
|
|
|
|
G_END_DECLS
|
2013-01-26 15:35:19 +00:00
|
|
|
#endif /* _GES_BASE_EFFECT */
|