initial import from CVS gstreamer/gst-template/gst-plugin
[gst-scaletempo-rj.git] / src / gsttransform.h
blobcdbfbf7ada6306801ef67c8258b3d6a9fc8f8358
1 /*
2 * GStreamer
3 * Copyright (C) 2006 Stefan Kost <ensonic@users.sf.net>
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 __GST_PLUGIN_TEMPLATE_H__
22 #define __GST_PLUGIN_TEMPLATE_H__
24 #include <gst/gst.h>
25 #include <gst/base/gstbasetransform.h>
27 G_BEGIN_DECLS
29 #define GST_TYPE_PLUGIN_TEMPLATE \
30 (gst_plugin_template_get_type())
31 #define GST_PLUGIN_TEMPLATE(obj) \
32 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_PLUGIN_TEMPLATE,GstPluginTemplate))
33 #define GST_PLUGIN_TEMPLATE_CLASS(klass) \
34 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_PLUGIN_TEMPLATE,GstPluginTemplateClass))
35 #define GST_IS_PLUGIN_TEMPLATE(obj) \
36 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PLUGIN_TEMPLATE))
37 #define GST_IS_PLUGIN_TEMPLATE_CLASS(klass) \
38 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PLUGIN_TEMPLATE))
40 typedef struct _GstPluginTemplate GstPluginTemplate;
41 typedef struct _GstPluginTemplateClass GstPluginTemplateClass;
43 struct _GstPluginTemplate {
44 GstBaseTransform element;
46 gboolean silent;
49 struct _GstPluginTemplateClass {
50 GstBaseTransformClass parent_class;
53 GType gst_plugin_template_get_type (void);
55 G_END_DECLS
57 #endif /* __GST_PLUGIN_TEMPLATE_H__ */