Release 1.20.0
[platform/upstream/gstreamer.git] / subprojects / gstreamer-sharp / sources / generated / Gst.PbUtils / DiscovererStreamInfo.cs
1 // This file was generated by the Gtk# code generator.
2 // Any changes made will be lost if regenerated.
3
4 namespace Gst.PbUtils {
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 DiscovererStreamInfo : GLib.Object {
13
14                 public DiscovererStreamInfo (IntPtr raw) : base(raw) {}
15
16                 protected DiscovererStreamInfo() : base(IntPtr.Zero)
17                 {
18                         CreateNativeObject (new string [0], new GLib.Value [0]);
19                 }
20
21                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
22                 static extern IntPtr gst_discoverer_stream_info_get_type();
23
24                 public static new GLib.GType GType { 
25                         get {
26                                 IntPtr raw_ret = gst_discoverer_stream_info_get_type();
27                                 GLib.GType ret = new GLib.GType(raw_ret);
28                                 return ret;
29                         }
30                 }
31
32                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
33                 static extern void gst_discoverer_stream_info_list_free(IntPtr infos);
34
35                 public static void ListFree(GLib.List infos) {
36                         gst_discoverer_stream_info_list_free(infos == null ? IntPtr.Zero : infos.Handle);
37                 }
38
39                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
40                 static extern IntPtr gst_discoverer_stream_info_get_caps(IntPtr raw);
41
42                 public Gst.Caps Caps { 
43                         get {
44                                 IntPtr raw_ret = gst_discoverer_stream_info_get_caps(Handle);
45                                 Gst.Caps ret = raw_ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Caps), true);
46                                 return ret;
47                         }
48                 }
49
50                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
51                 static extern IntPtr gst_discoverer_stream_info_get_misc(IntPtr raw);
52
53                 [Obsolete]
54                 public Gst.Structure Misc { 
55                         get {
56                                 IntPtr raw_ret = gst_discoverer_stream_info_get_misc(Handle);
57                                 Gst.Structure ret = raw_ret == IntPtr.Zero ? null : (Gst.Structure) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Structure), false);
58                                 return ret;
59                         }
60                 }
61
62                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
63                 static extern IntPtr gst_discoverer_stream_info_get_next(IntPtr raw);
64
65                 public Gst.PbUtils.DiscovererStreamInfo Next { 
66                         get {
67                                 IntPtr raw_ret = gst_discoverer_stream_info_get_next(Handle);
68                                 Gst.PbUtils.DiscovererStreamInfo ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.DiscovererStreamInfo;
69                                 return ret;
70                         }
71                 }
72
73                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
74                 static extern IntPtr gst_discoverer_stream_info_get_previous(IntPtr raw);
75
76                 public Gst.PbUtils.DiscovererStreamInfo Previous { 
77                         get {
78                                 IntPtr raw_ret = gst_discoverer_stream_info_get_previous(Handle);
79                                 Gst.PbUtils.DiscovererStreamInfo ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.DiscovererStreamInfo;
80                                 return ret;
81                         }
82                 }
83
84                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
85                 static extern IntPtr gst_discoverer_stream_info_get_stream_id(IntPtr raw);
86
87                 public string StreamId { 
88                         get {
89                                 IntPtr raw_ret = gst_discoverer_stream_info_get_stream_id(Handle);
90                                 string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
91                                 return ret;
92                         }
93                 }
94
95                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
96                 static extern IntPtr gst_discoverer_stream_info_get_stream_type_nick(IntPtr raw);
97
98                 public string StreamTypeNick { 
99                         get {
100                                 IntPtr raw_ret = gst_discoverer_stream_info_get_stream_type_nick(Handle);
101                                 string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
102                                 return ret;
103                         }
104                 }
105
106                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
107                 static extern IntPtr gst_discoverer_stream_info_get_tags(IntPtr raw);
108
109                 public Gst.TagList Tags { 
110                         get {
111                                 IntPtr raw_ret = gst_discoverer_stream_info_get_tags(Handle);
112                                 Gst.TagList ret = raw_ret == IntPtr.Zero ? null : (Gst.TagList) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.TagList), false);
113                                 return ret;
114                         }
115                 }
116
117                 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
118                 static extern IntPtr gst_discoverer_stream_info_get_toc(IntPtr raw);
119
120                 public Gst.Toc Toc { 
121                         get {
122                                 IntPtr raw_ret = gst_discoverer_stream_info_get_toc(Handle);
123                                 Gst.Toc ret = Gst.Toc.New (raw_ret);
124                                 return ret;
125                         }
126                 }
127
128
129                 static DiscovererStreamInfo ()
130                 {
131                         GtkSharp.GstreamerSharp.ObjectManager.Initialize ();
132                 }
133 #endregion
134         }
135 }