vala r1734 - in trunk: . vapi vapi/packages/gstreamer-0.10



Author: tvermeir
Date: Tue Aug  5 21:15:25 2008
New Revision: 1734
URL: http://svn.gnome.org/viewvc/vala?rev=1734&view=rev

Log:
	* vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala:
	Add logging functions for DebugCategory
	* vapi/gstreamer-0.10.vapi: regenerated



Modified:
   trunk/ChangeLog
   trunk/vapi/gstreamer-0.10.vapi
   trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala

Modified: trunk/vapi/gstreamer-0.10.vapi
==============================================================================
--- trunk/vapi/gstreamer-0.10.vapi	(original)
+++ trunk/vapi/gstreamer-0.10.vapi	Tue Aug  5 21:15:25 2008
@@ -567,6 +567,43 @@
 	}
 	[Compact]
 	[CCode (cheader_filename = "gst/gst.h")]
+	public class DebugCategory {
+		public int threshold;
+		public uint color;
+		public weak string name;
+		public weak string description;
+		[CCode (cname = "GST_DEBUG_CATEGORY_INIT")]
+		public void init (string name, uint color, string description);
+		[CCode (cname = "GST_CAT_LOG")]
+		public void log (string format, ...);
+		[CCode (cname = "GST_CAT_DEBUG")]
+		public void debug (string format, ...);
+		[CCode (cname = "GST_CAT_INFO")]
+		public void info (string format, ...);
+		[CCode (cname = "GST_CAT_WARNING")]
+		public void warning (string format, ...);
+		[CCode (cname = "GST_CAT_ERROR")]
+		public void error (string format, ...);
+		[CCode (cname = "GST_CAT_LOG_OBJECT")]
+		public void log_object (GLib.Object obj, string format, ...);
+		[CCode (cname = "GST_CAT_DEBUG_OBJECT")]
+		public void debug_object (GLib.Object obj, string format, ...);
+		[CCode (cname = "GST_CAT_INFO_OBJECT")]
+		public void info_object (GLib.Object obj, string format, ...);
+		[CCode (cname = "GST_CAT_WARNING_OBJECT")]
+		public void warning_object (GLib.Object obj, string format, ...);
+		[CCode (cname = "GST_CAT_ERROR_OBJECT")]
+		public void error_object (GLib.Object obj, string format, ...);
+		public DebugCategory ();
+		public uint get_color ();
+		public weak string get_description ();
+		public weak string get_name ();
+		public Gst.DebugLevel get_threshold ();
+		public void reset_threshold ();
+		public void set_threshold (Gst.DebugLevel level);
+	}
+	[Compact]
+	[CCode (cheader_filename = "gst/gst.h")]
 	public class AllocTrace {
 		public weak string name;
 		public int flags;
@@ -609,20 +646,6 @@
 	}
 	[Compact]
 	[CCode (cheader_filename = "gst/gst.h")]
-	public class DebugCategory {
-		public int threshold;
-		public uint color;
-		public weak string name;
-		public weak string description;
-		public uint get_color ();
-		public weak string get_description ();
-		public weak string get_name ();
-		public Gst.DebugLevel get_threshold ();
-		public void reset_threshold ();
-		public void set_threshold (Gst.DebugLevel level);
-	}
-	[Compact]
-	[CCode (cheader_filename = "gst/gst.h")]
 	public class DebugMessage {
 		public weak string get ();
 	}

Modified: trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
==============================================================================
--- trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala	(original)
+++ trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala	Tue Aug  5 21:15:25 2008
@@ -41,6 +41,32 @@
 		public void unref ();
 	}
 
+	[Compact]
+	public class DebugCategory {
+		[CCode (cname="GST_DEBUG_CATEGORY_INIT")]
+		public void init (string name, uint color, string description);
+		[CCode (cname="GST_CAT_LOG")]
+		public void log (string format, ...);
+		[CCode (cname="GST_CAT_DEBUG")]
+		public void debug (string format, ...);
+		[CCode (cname="GST_CAT_INFO")]
+		public void info (string format, ...);
+		[CCode (cname="GST_CAT_WARNING")]
+		public void warning (string format, ...);
+		[CCode (cname="GST_CAT_ERROR")]
+		public void error (string format, ...);
+		[CCode (cname="GST_CAT_LOG_OBJECT")]
+		public void log_object (GLib.Object obj, string format, ...);
+		[CCode (cname="GST_CAT_DEBUG_OBJECT")]
+		public void debug_object (GLib.Object obj, string format, ...);
+		[CCode (cname="GST_CAT_INFO_OBJECT")]
+		public void info_object (GLib.Object obj, string format, ...);
+		[CCode (cname="GST_CAT_WARNING_OBJECT")]
+		public void warning_object (GLib.Object obj, string format, ...);
+		[CCode (cname="GST_CAT_ERROR_OBJECT")]
+		public void error_object (GLib.Object obj, string format, ...);
+	}
+
 	[CCode (cname="GST_DEBUG_BIN_TO_DOT_FILE")]
 	public static void debug_bin_to_dot_file (Bin bin, DebugGraphDetails details, string prefix);
 	[CCode (cname="GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS")]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]