Back to development
[platform/upstream/gstreamer.git] / subprojects / gstreamer-sharp / sources / generated / Gst / Tracer.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 Tracer : Gst.Object {
13
14                 protected Tracer (IntPtr raw) : base(raw) {}
15
16                 protected Tracer() : base(IntPtr.Zero)
17                 {
18                         CreateNativeObject (new string [0], new GLib.Value [0]);
19                 }
20
21                 [GLib.Property ("params")]
22                 public string Params {
23                         get {
24                                 GLib.Value val = GetProperty ("params");
25                                 string ret = (string) val;
26                                 val.Dispose ();
27                                 return ret;
28                         }
29                         set {
30                                 GLib.Value val = new GLib.Value(value);
31                                 SetProperty("params", val);
32                                 val.Dispose ();
33                         }
34                 }
35
36
37                 // Internal representation of the wrapped structure ABI.
38                 static GLib.AbiStruct _class_abi = null;
39                 static public new GLib.AbiStruct class_abi {
40                         get {
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
46                                                         , null
47                                                         , null
48                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
49                                                         , 0
50                                                         ),
51                                         });
52
53                                 return _class_abi;
54                         }
55                 }
56
57
58                 // End of the ABI representation.
59
60                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
61                 static extern IntPtr gst_tracer_get_type();
62
63                 public static new GLib.GType GType { 
64                         get {
65                                 IntPtr raw_ret = gst_tracer_get_type();
66                                 GLib.GType ret = new GLib.GType(raw_ret);
67                                 return ret;
68                         }
69                 }
70
71                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
72                 static extern bool gst_tracer_register(IntPtr plugin, IntPtr name, IntPtr type);
73
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);
77                         bool ret = raw_ret;
78                         GLib.Marshaller.Free (native_name);
79                         return ret;
80                 }
81
82                 public static bool Register(string name, GLib.GType type) {
83                         return Register (null, name, type);
84                 }
85
86
87                 // Internal representation of the wrapped structure ABI.
88                 static GLib.AbiStruct _abi_info = null;
89                 static public new GLib.AbiStruct abi_info {
90                         get {
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
96                                                         , null
97                                                         , "_gst_reserved"
98                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
99                                                         , 0
100                                                         ),
101                                                 new GLib.AbiField("_gst_reserved"
102                                                         , -1
103                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) * 4 // _gst_reserved
104                                                         , "priv"
105                                                         , null
106                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
107                                                         , 0
108                                                         ),
109                                         });
110
111                                 return _abi_info;
112                         }
113                 }
114
115
116                 // End of the ABI representation.
117
118 #endregion
119         }
120 }