gst-indent
[platform/upstream/gst-plugins-good.git] / gst / debug / efence.h
1 /* 
2  * efence.h
3  */
4
5 #ifndef __GST_EFENCE_H__
6 #define __GST_EFENCE_H__
7
8 #include <gst/gst.h>
9
10 #ifdef __cplusplus
11 extern "C"
12 {
13 #endif                          /* __cplusplus */
14
15 /* #define's don't like whitespacey bits */
16 #define GST_TYPE_EFENCE \
17   (gst_gst_efence_get_type())
18 #define GST_EFENCE(obj) \
19   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_EFENCE,GstEFence))
20 #define GST_EFENCE_CLASS(klass) \
21   (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EFENCE,GstEFence))
22 #define GST_IS_EFENCE(obj) \
23   (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_EFENCE))
24 #define GST_IS_EFENCE_CLASS(obj) \
25   (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EFENCE))
26
27   typedef struct _GstEFence GstEFence;
28   typedef struct _GstEFenceClass GstEFenceClass;
29
30   struct _GstEFence
31   {
32     GstElement element;
33
34     GstPad *sinkpad, *srcpad;
35
36     gboolean fence_top;
37   };
38
39   struct _GstEFenceClass
40   {
41     GstElementClass parent_class;
42   };
43
44   GType gst_gst_efence_get_type (void);
45
46 #ifdef __cplusplus
47 }
48 #endif                          /* __cplusplus */
49
50 #endif                          /* __GST_EFENCE_H__ */