Back to development
[platform/upstream/gstreamer.git] / subprojects / gstreamer-sharp / sources / generated / Gst / PluginFeature.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 PluginFeature : Gst.Object {
13
14                 protected PluginFeature (IntPtr raw) : base(raw) {}
15
16                 protected PluginFeature() : 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 (Gst.Object.class_abi.Fields);
28
29                                 return _class_abi;
30                         }
31                 }
32
33
34                 // End of the ABI representation.
35
36                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
37                 static extern IntPtr gst_plugin_feature_get_type();
38
39                 public static new GLib.GType GType { 
40                         get {
41                                 IntPtr raw_ret = gst_plugin_feature_get_type();
42                                 GLib.GType ret = new GLib.GType(raw_ret);
43                                 return ret;
44                         }
45                 }
46
47                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
48                 static extern IntPtr gst_plugin_feature_list_copy(IntPtr list);
49
50                 public static Gst.PluginFeature[] ListCopy(GLib.List list) {
51                         IntPtr raw_ret = gst_plugin_feature_list_copy(list == null ? IntPtr.Zero : list.Handle);
52                         Gst.PluginFeature[] ret = (Gst.PluginFeature[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, true, typeof(Gst.PluginFeature));
53                         return ret;
54                 }
55
56                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
57                 static extern void gst_plugin_feature_list_debug(IntPtr list);
58
59                 public static void ListDebug(GLib.List list) {
60                         gst_plugin_feature_list_debug(list == null ? IntPtr.Zero : list.Handle);
61                 }
62
63                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
64                 static extern void gst_plugin_feature_list_free(IntPtr list);
65
66                 public static void ListFree(GLib.List list) {
67                         gst_plugin_feature_list_free(list == null ? IntPtr.Zero : list.Handle);
68                 }
69
70                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
71                 static extern int gst_plugin_feature_rank_compare_func(IntPtr p1, IntPtr p2);
72
73                 public static int RankCompareFunc(IntPtr p1, IntPtr p2) {
74                         int raw_ret = gst_plugin_feature_rank_compare_func(p1, p2);
75                         int ret = raw_ret;
76                         return ret;
77                 }
78
79                 public static int RankCompareFunc() {
80                         return RankCompareFunc (IntPtr.Zero, IntPtr.Zero);
81                 }
82
83                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
84                 static extern bool gst_plugin_feature_check_version(IntPtr raw, uint min_major, uint min_minor, uint min_micro);
85
86                 public bool CheckVersion(uint min_major, uint min_minor, uint min_micro) {
87                         bool raw_ret = gst_plugin_feature_check_version(Handle, min_major, min_minor, min_micro);
88                         bool ret = raw_ret;
89                         return ret;
90                 }
91
92                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
93                 static extern IntPtr gst_plugin_feature_get_plugin(IntPtr raw);
94
95                 public Gst.Plugin Plugin { 
96                         get {
97                                 IntPtr raw_ret = gst_plugin_feature_get_plugin(Handle);
98                                 Gst.Plugin ret = GLib.Object.GetObject(raw_ret, true) as Gst.Plugin;
99                                 return ret;
100                         }
101                 }
102
103                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
104                 static extern IntPtr gst_plugin_feature_get_plugin_name(IntPtr raw);
105
106                 public string PluginName { 
107                         get {
108                                 IntPtr raw_ret = gst_plugin_feature_get_plugin_name(Handle);
109                                 string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
110                                 return ret;
111                         }
112                 }
113
114                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
115                 static extern uint gst_plugin_feature_get_rank(IntPtr raw);
116
117                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
118                 static extern void gst_plugin_feature_set_rank(IntPtr raw, uint rank);
119
120                 public uint Rank { 
121                         get {
122                                 uint raw_ret = gst_plugin_feature_get_rank(Handle);
123                                 uint ret = raw_ret;
124                                 return ret;
125                         }
126                         set {
127                                 gst_plugin_feature_set_rank(Handle, value);
128                         }
129                 }
130
131                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
132                 static extern IntPtr gst_plugin_feature_load(IntPtr raw);
133
134                 public Gst.PluginFeature Load() {
135                         IntPtr raw_ret = gst_plugin_feature_load(Handle);
136                         Gst.PluginFeature ret = GLib.Object.GetObject(raw_ret, true) as Gst.PluginFeature;
137                         return ret;
138                 }
139
140
141                 // Internal representation of the wrapped structure ABI.
142                 static GLib.AbiStruct _abi_info = null;
143                 static public new GLib.AbiStruct abi_info {
144                         get {
145                                 if (_abi_info == null)
146                                         _abi_info = new GLib.AbiStruct (Gst.Object.abi_info.Fields);
147
148                                 return _abi_info;
149                         }
150                 }
151
152
153                 // End of the ABI representation.
154
155 #endregion
156         }
157 }