// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.

namespace Gst.PbUtils {

	using System;
	using System.Collections;
	using System.Collections.Generic;
	using System.Runtime.InteropServices;

#region Autogenerated code
	public partial class DiscovererContainerInfoBuilder : GLib.Opaque {

		[DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern IntPtr gst_discoverer_container_info_builder_add_stream(IntPtr raw, IntPtr stream_info);

		public Gst.PbUtils.DiscovererContainerInfoBuilder AddStream(Gst.PbUtils.DiscovererStreamInfo stream_info) {
			IntPtr raw_ret = gst_discoverer_container_info_builder_add_stream(Handle, stream_info == null ? IntPtr.Zero : stream_info.OwnedHandle);
			Gst.PbUtils.DiscovererContainerInfoBuilder ret = raw_ret == IntPtr.Zero ? null : (Gst.PbUtils.DiscovererContainerInfoBuilder) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.PbUtils.DiscovererContainerInfoBuilder), false);
			return ret;
		}

		[DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern IntPtr gst_discoverer_container_info_builder_build(IntPtr raw);

		public Gst.PbUtils.DiscovererContainerInfo Build() {
			IntPtr raw_ret = gst_discoverer_container_info_builder_build(Handle);
			Gst.PbUtils.DiscovererContainerInfo ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.DiscovererContainerInfo;
			return ret;
		}

		[DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern IntPtr gst_discoverer_container_info_builder_set_tags(IntPtr raw, IntPtr tags);

		public Gst.PbUtils.DiscovererContainerInfoBuilder SetTags(Gst.TagList tags) {
			IntPtr raw_ret = gst_discoverer_container_info_builder_set_tags(Handle, tags == null ? IntPtr.Zero : tags.Handle);
			Gst.PbUtils.DiscovererContainerInfoBuilder ret = raw_ret == IntPtr.Zero ? null : (Gst.PbUtils.DiscovererContainerInfoBuilder) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.PbUtils.DiscovererContainerInfoBuilder), false);
			return ret;
		}

		public Gst.PbUtils.DiscovererContainerInfoBuilder SetTags() {
			return SetTags (null);
		}

		public DiscovererContainerInfoBuilder(IntPtr raw) : base(raw) {}

		[DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern void gst_discoverer_container_info_builder_free(IntPtr raw);

		protected override void Free (IntPtr raw)
		{
			gst_discoverer_container_info_builder_free (raw);
		}

		protected override Action<IntPtr> DisposeUnmanagedFunc {
			get {
				return gst_discoverer_container_info_builder_free;
			}
		}


		// Internal representation of the wrapped structure ABI.
		static GLib.AbiStruct _abi_info = null;
		static public GLib.AbiStruct abi_info {
			get {
				if (_abi_info == null)
					_abi_info = new GLib.AbiStruct (new List<GLib.AbiField>{ 
					});

				return _abi_info;
			}
		}


		// End of the ABI representation.

#endregion
	}
}
