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

namespace Gst {

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

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

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

		public string Description { 
			get {
				IntPtr raw_ret = gst_trace_format_get_description(Handle);
				string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
				return ret;
			}
		}

		[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern IntPtr gst_trace_format_get_field_description(IntPtr raw, uint index);

		public string GetFieldDescription(uint index) {
			IntPtr raw_ret = gst_trace_format_get_field_description(Handle, index);
			string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
			return ret;
		}

		[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern IntPtr gst_trace_format_get_field_name(IntPtr raw, uint index);

		public string GetFieldName(uint index) {
			IntPtr raw_ret = gst_trace_format_get_field_name(Handle, index);
			string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
			return ret;
		}

		[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern IntPtr gst_trace_format_get_field_structure(IntPtr raw, uint index);

		public Gst.Structure GetFieldStructure(uint index) {
			IntPtr raw_ret = gst_trace_format_get_field_structure(Handle, index);
			Gst.Structure ret = raw_ret == IntPtr.Zero ? null : (Gst.Structure) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Structure), false);
			return ret;
		}

		[DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern int gst_trace_format_get_field_type(IntPtr raw, uint index);

		public Gst.TracerFieldType GetFieldType(uint index) {
			int raw_ret = gst_trace_format_get_field_type(Handle, index);
			Gst.TracerFieldType ret = (Gst.TracerFieldType) raw_ret;
			return ret;
		}

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

		public uint NFields { 
			get {
				uint raw_ret = gst_trace_format_get_n_fields(Handle);
				uint ret = raw_ret;
				return ret;
			}
		}

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

		public string Name { 
			get {
				IntPtr raw_ret = gst_trace_format_get_name(Handle);
				string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
				return ret;
			}
		}

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

		public bool IsEnabled { 
			get {
				bool raw_ret = gst_trace_format_is_enabled(Handle);
				bool ret = raw_ret;
				return ret;
			}
		}

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


		// 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
	}
}
