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 PluginFeature : Gst.Object {
14 protected PluginFeature (IntPtr raw) : base(raw) {}
16 protected PluginFeature() : 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 (Gst.Object.class_abi.Fields);
34 // End of the ABI representation.
36 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
37 static extern IntPtr gst_plugin_feature_get_type();
39 public static new GLib.GType GType {
41 IntPtr raw_ret = gst_plugin_feature_get_type();
42 GLib.GType ret = new GLib.GType(raw_ret);
47 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
48 static extern IntPtr gst_plugin_feature_list_copy(IntPtr list);
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));
56 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
57 static extern void gst_plugin_feature_list_debug(IntPtr list);
59 public static void ListDebug(GLib.List list) {
60 gst_plugin_feature_list_debug(list == null ? IntPtr.Zero : list.Handle);
63 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
64 static extern void gst_plugin_feature_list_free(IntPtr list);
66 public static void ListFree(GLib.List list) {
67 gst_plugin_feature_list_free(list == null ? IntPtr.Zero : list.Handle);
70 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
71 static extern int gst_plugin_feature_rank_compare_func(IntPtr p1, IntPtr p2);
73 public static int RankCompareFunc(IntPtr p1, IntPtr p2) {
74 int raw_ret = gst_plugin_feature_rank_compare_func(p1, p2);
79 public static int RankCompareFunc() {
80 return RankCompareFunc (IntPtr.Zero, IntPtr.Zero);
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);
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);
92 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
93 static extern IntPtr gst_plugin_feature_get_plugin(IntPtr raw);
95 public Gst.Plugin Plugin {
97 IntPtr raw_ret = gst_plugin_feature_get_plugin(Handle);
98 Gst.Plugin ret = GLib.Object.GetObject(raw_ret, true) as Gst.Plugin;
103 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
104 static extern IntPtr gst_plugin_feature_get_plugin_name(IntPtr raw);
106 public string PluginName {
108 IntPtr raw_ret = gst_plugin_feature_get_plugin_name(Handle);
109 string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
114 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
115 static extern uint gst_plugin_feature_get_rank(IntPtr raw);
117 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
118 static extern void gst_plugin_feature_set_rank(IntPtr raw, uint rank);
122 uint raw_ret = gst_plugin_feature_get_rank(Handle);
127 gst_plugin_feature_set_rank(Handle, value);
131 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
132 static extern IntPtr gst_plugin_feature_load(IntPtr raw);
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;
141 // Internal representation of the wrapped structure ABI.
142 static GLib.AbiStruct _abi_info = null;
143 static public new GLib.AbiStruct abi_info {
145 if (_abi_info == null)
146 _abi_info = new GLib.AbiStruct (Gst.Object.abi_info.Fields);
153 // End of the ABI representation.