bf0790dd035f6a6355c09c12d5b40cfe9f3fba1b
[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 #endif /* __cplusplus */
13
14 /* #define's don't like whitespacey bits */
15 #define GST_TYPE_EFENCE \
16   (gst_gst_efence_get_type())
17 #define GST_EFENCE(obj) \
18   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_EFENCE,GstEFence))
19 #define GST_EFENCE_CLASS(klass) \
20   (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EFENCE,GstEFence))
21 #define GST_IS_EFENCE(obj) \
22   (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_EFENCE))
23 #define GST_IS_EFENCE_CLASS(obj) \
24   (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EFENCE))
25
26 typedef struct _GstEFence      GstEFence;
27 typedef struct _GstEFenceClass GstEFenceClass;
28
29 struct _GstEFence
30 {
31   GstElement element;
32
33   GstPad *sinkpad, *srcpad;
34
35   gboolean fence_top;
36 };
37
38 struct _GstEFenceClass 
39 {
40   GstElementClass parent_class;
41 };
42
43 GType gst_gst_efence_get_type (void);
44
45 #ifdef __cplusplus
46 }
47 #endif /* __cplusplus */
48
49 #endif /* __GST_EFENCE_H__ */