Back to development
[platform/upstream/gstreamer.git] / subprojects / gstreamer-sharp / sources / generated / Gst / ProxyPad.cs
1 // This file was generated by the Gtk# code generator.
2 // Any changes made will be lost if regenerated.
3
4 namespace Gst {
5
6         using System;
7         using System.Collections;
8         using System.Collections.Generic;
9         using System.Runtime.InteropServices;
10
11 #region Autogenerated code
12         public partial class ProxyPad : Gst.Pad {
13
14                 public ProxyPad (IntPtr raw) : base(raw) {}
15
16                 protected ProxyPad() : base(IntPtr.Zero)
17                 {
18                         CreateNativeObject (new string [0], new GLib.Value [0]);
19                 }
20
21
22                 // Internal representation of the wrapped structure ABI.
23                 static GLib.AbiStruct _class_abi = null;
24                 static public new GLib.AbiStruct class_abi {
25                         get {
26                                 if (_class_abi == null)
27                                         _class_abi = new GLib.AbiStruct (new List<GLib.AbiField>{ 
28                                                 new GLib.AbiField("_gst_reserved"
29                                                         , Gst.Pad.class_abi.Fields
30                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) * 1 // _gst_reserved
31                                                         , null
32                                                         , null
33                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
34                                                         , 0
35                                                         ),
36                                         });
37
38                                 return _class_abi;
39                         }
40                 }
41
42
43                 // End of the ABI representation.
44
45                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
46                 static extern IntPtr gst_proxy_pad_get_type();
47
48                 public static new GLib.GType GType { 
49                         get {
50                                 IntPtr raw_ret = gst_proxy_pad_get_type();
51                                 GLib.GType ret = new GLib.GType(raw_ret);
52                                 return ret;
53                         }
54                 }
55
56                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
57                 static extern int gst_proxy_pad_chain_default(IntPtr pad, IntPtr parent, IntPtr buffer);
58
59                 public static Gst.FlowReturn ChainDefault(Gst.Pad pad, Gst.Object parent, Gst.Buffer buffer) {
60                         buffer.Owned = false;
61                         int raw_ret = gst_proxy_pad_chain_default(pad == null ? IntPtr.Zero : pad.Handle, parent == null ? IntPtr.Zero : parent.Handle, buffer == null ? IntPtr.Zero : buffer.Handle);
62                         Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
63                         return ret;
64                 }
65
66                 public static Gst.FlowReturn ChainDefault(Gst.Pad pad, Gst.Buffer buffer) {
67                         return ChainDefault (pad, null, buffer);
68                 }
69
70                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
71                 static extern int gst_proxy_pad_chain_list_default(IntPtr pad, IntPtr parent, IntPtr list);
72
73                 public static Gst.FlowReturn ChainListDefault(Gst.Pad pad, Gst.Object parent, Gst.BufferList list) {
74                         list.Owned = false;
75                         int raw_ret = gst_proxy_pad_chain_list_default(pad == null ? IntPtr.Zero : pad.Handle, parent == null ? IntPtr.Zero : parent.Handle, list == null ? IntPtr.Zero : list.Handle);
76                         Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
77                         return ret;
78                 }
79
80                 public static Gst.FlowReturn ChainListDefault(Gst.Pad pad, Gst.BufferList list) {
81                         return ChainListDefault (pad, null, list);
82                 }
83
84                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
85                 static extern int gst_proxy_pad_getrange_default(IntPtr pad, IntPtr parent, ulong offset, uint size, out IntPtr buffer);
86
87                 public static Gst.FlowReturn GetrangeDefault(Gst.Pad pad, Gst.Object parent, ulong offset, uint size, out Gst.Buffer buffer) {
88                         IntPtr native_buffer;
89                         int raw_ret = gst_proxy_pad_getrange_default(pad == null ? IntPtr.Zero : pad.Handle, parent == null ? IntPtr.Zero : parent.Handle, offset, size, out native_buffer);
90                         Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
91                         buffer = native_buffer == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (native_buffer, typeof (Gst.Buffer), true);
92                         return ret;
93                 }
94
95                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
96                 static extern IntPtr gst_proxy_pad_iterate_internal_links_default(IntPtr pad, IntPtr parent);
97
98                 public static Gst.Iterator IterateInternalLinksDefault(Gst.Pad pad, Gst.Object parent) {
99                         IntPtr raw_ret = gst_proxy_pad_iterate_internal_links_default(pad == null ? IntPtr.Zero : pad.Handle, parent == null ? IntPtr.Zero : parent.Handle);
100                         Gst.Iterator ret = raw_ret == IntPtr.Zero ? null : (Gst.Iterator) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Iterator), true);
101                         return ret;
102                 }
103
104                 public static Gst.Iterator IterateInternalLinksDefault(Gst.Pad pad) {
105                         return IterateInternalLinksDefault (pad, null);
106                 }
107
108                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
109                 static extern IntPtr gst_proxy_pad_get_internal(IntPtr raw);
110
111                 public Gst.ProxyPad Internal { 
112                         get {
113                                 IntPtr raw_ret = gst_proxy_pad_get_internal(Handle);
114                                 Gst.ProxyPad ret = GLib.Object.GetObject(raw_ret, true) as Gst.ProxyPad;
115                                 return ret;
116                         }
117                 }
118
119
120                 // Internal representation of the wrapped structure ABI.
121                 static GLib.AbiStruct _abi_info = null;
122                 static public new GLib.AbiStruct abi_info {
123                         get {
124                                 if (_abi_info == null)
125                                         _abi_info = new GLib.AbiStruct (new List<GLib.AbiField>{ 
126                                                 new GLib.AbiField("priv"
127                                                         , Gst.Pad.abi_info.Fields
128                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // priv
129                                                         , null
130                                                         , null
131                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
132                                                         , 0
133                                                         ),
134                                         });
135
136                                 return _abi_info;
137                         }
138                 }
139
140
141                 // End of the ABI representation.
142
143 #endregion
144         }
145 }