1 // This file was generated by the Gtk# code generator.
2 // Any changes made will be lost if regenerated.
7 using System.Collections;
8 using System.Collections.Generic;
9 using System.Runtime.InteropServices;
11 #region Autogenerated code
12 public partial class ProxyPad : Gst.Pad {
14 public ProxyPad (IntPtr raw) : base(raw) {}
16 protected ProxyPad() : base(IntPtr.Zero)
18 CreateNativeObject (new string [0], new GLib.Value [0]);
22 // Internal representation of the wrapped structure ABI.
23 static GLib.AbiStruct _class_abi = null;
24 static public new GLib.AbiStruct class_abi {
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
33 , (uint) Marshal.SizeOf(typeof(IntPtr))
43 // End of the ABI representation.
45 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
46 static extern IntPtr gst_proxy_pad_get_type();
48 public static new GLib.GType GType {
50 IntPtr raw_ret = gst_proxy_pad_get_type();
51 GLib.GType ret = new GLib.GType(raw_ret);
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);
59 public static Gst.FlowReturn ChainDefault(Gst.Pad pad, Gst.Object parent, Gst.Buffer buffer) {
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;
66 public static Gst.FlowReturn ChainDefault(Gst.Pad pad, Gst.Buffer buffer) {
67 return ChainDefault (pad, null, buffer);
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);
73 public static Gst.FlowReturn ChainListDefault(Gst.Pad pad, Gst.Object parent, Gst.BufferList list) {
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;
80 public static Gst.FlowReturn ChainListDefault(Gst.Pad pad, Gst.BufferList list) {
81 return ChainListDefault (pad, null, list);
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);
87 public static Gst.FlowReturn GetrangeDefault(Gst.Pad pad, Gst.Object parent, ulong offset, uint size, out Gst.Buffer 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);
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);
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);
104 public static Gst.Iterator IterateInternalLinksDefault(Gst.Pad pad) {
105 return IterateInternalLinksDefault (pad, null);
108 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
109 static extern IntPtr gst_proxy_pad_get_internal(IntPtr raw);
111 public Gst.ProxyPad Internal {
113 IntPtr raw_ret = gst_proxy_pad_get_internal(Handle);
114 Gst.ProxyPad ret = GLib.Object.GetObject(raw_ret, true) as Gst.ProxyPad;
120 // Internal representation of the wrapped structure ABI.
121 static GLib.AbiStruct _abi_info = null;
122 static public new GLib.AbiStruct abi_info {
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
131 , (uint) Marshal.SizeOf(typeof(IntPtr))
141 // End of the ABI representation.