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 Tracer : Gst.Object {
14 protected Tracer (IntPtr raw) : base(raw) {}
16 protected Tracer() : base(IntPtr.Zero)
18 CreateNativeObject (new string [0], new GLib.Value [0]);
21 [GLib.Property ("params")]
22 public string Params {
24 GLib.Value val = GetProperty ("params");
25 string ret = (string) val;
30 GLib.Value val = new GLib.Value(value);
31 SetProperty("params", val);
37 // Internal representation of the wrapped structure ABI.
38 static GLib.AbiStruct _class_abi = null;
39 static public new GLib.AbiStruct class_abi {
41 if (_class_abi == null)
42 _class_abi = new GLib.AbiStruct (new List<GLib.AbiField>{
43 new GLib.AbiField("_gst_reserved"
44 , Gst.Object.class_abi.Fields
45 , (uint) Marshal.SizeOf(typeof(IntPtr)) * 4 // _gst_reserved
48 , (uint) Marshal.SizeOf(typeof(IntPtr))
58 // End of the ABI representation.
60 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
61 static extern IntPtr gst_tracer_get_type();
63 public static new GLib.GType GType {
65 IntPtr raw_ret = gst_tracer_get_type();
66 GLib.GType ret = new GLib.GType(raw_ret);
71 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
72 static extern bool gst_tracer_register(IntPtr plugin, IntPtr name, IntPtr type);
74 public static bool Register(Gst.Plugin plugin, string name, GLib.GType type) {
75 IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
76 bool raw_ret = gst_tracer_register(plugin == null ? IntPtr.Zero : plugin.Handle, native_name, type.Val);
78 GLib.Marshaller.Free (native_name);
82 public static bool Register(string name, GLib.GType type) {
83 return Register (null, name, type);
87 // Internal representation of the wrapped structure ABI.
88 static GLib.AbiStruct _abi_info = null;
89 static public new GLib.AbiStruct abi_info {
91 if (_abi_info == null)
92 _abi_info = new GLib.AbiStruct (new List<GLib.AbiField>{
93 new GLib.AbiField("priv"
94 , Gst.Object.abi_info.Fields
95 , (uint) Marshal.SizeOf(typeof(IntPtr)) // priv
98 , (uint) Marshal.SizeOf(typeof(IntPtr))
101 new GLib.AbiField("_gst_reserved"
103 , (uint) Marshal.SizeOf(typeof(IntPtr)) * 4 // _gst_reserved
106 , (uint) Marshal.SizeOf(typeof(IntPtr))
116 // End of the ABI representation.