Initialize Tizen 2.3
[framework/multimedia/gst-plugins-ext0.10.git] / mobile / toggle / src / gsttoggle.h
1 /*
2  * toggle
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: JongHyuk Choi <jhchoi.choi@samsung.com>
7  *
8  * This library is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU Lesser General Public License as published by the
10  * Free Software Foundation; either version 2.1 of the License, or (at your option)
11  * any later version.
12  *
13  * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14  * WARRANTY; without even the implied warranty of MERCHANTABILITY or
15  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16  * License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this library; if not, write to the Free Software Foundation, Inc., 51
20  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  *
22  */
23
24 #ifndef __GST_MYTOGGLE_H__
25 #define __GST_MYTOGGLE_H__
26
27
28 #include <gst/gst.h>
29 #include <gst/base/gstbasetransform.h>
30
31 G_BEGIN_DECLS
32
33
34 #define GST_TYPE_MYTOGGLE \
35   (gst_mytoggle_get_type())
36 #define GST_MYTOGGLE(obj) \
37   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_MYTOGGLE,GstMytoggle))
38 #define GST_MYTOGGLE_CLASS(klass) \
39   (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_MYTOGGLE,GstMytoggleClass))
40 #define GST_IS_MYTOGGLE(obj) \
41   (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_MYTOGGLE))
42 #define GST_IS_MYTOGGLE_CLASS(klass) \
43   (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_MYTOGGLE))
44
45 typedef struct _GstMytoggle GstMytoggle;
46 typedef struct _GstMytoggleClass GstMytoggleClass;
47
48 struct _GstMytoggle {
49   GstBaseTransform       element;
50   gboolean block_data;  
51 };
52
53 struct _GstMytoggleClass {
54   GstBaseTransformClass parent_class;
55 };
56
57 GType gst_mytoggle_get_type(void);
58
59 G_END_DECLS
60
61 #endif /* __GST_MYTOGGLE_H__ */