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



Author: juergbi
Date: Sat Mar  8 20:54:00 2008
New Revision: 1116
URL: http://svn.gnome.org/viewvc/vala?rev=1116&view=rev

Log:
2008-03-08  Juerg Billeter  <j bitron ch>

	* vapi/packages/gstreamer-0.10/: add GstGhostPad binding

	* vapi/gstreamer-0.10.vapi: regenerated


Modified:
   trunk/ChangeLog
   trunk/vapi/gstreamer-0.10.vapi
   trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.excludes
   trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.gi
   trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata

Modified: trunk/vapi/gstreamer-0.10.vapi
==============================================================================
--- trunk/vapi/gstreamer-0.10.vapi	(original)
+++ trunk/vapi/gstreamer-0.10.vapi	Sat Mar  8 20:54:00 2008
@@ -1308,6 +1308,15 @@
 		public static weak Gst.Element make (string factoryname, string name);
 	}
 	[CCode (cheader_filename = "gst/gst.h")]
+	public class GhostPad : Gst.Pad {
+		public weak Gst.Pad get_target ();
+		public GhostPad (string name, Gst.Pad target);
+		public GhostPad.from_template (string name, Gst.Pad target, Gst.PadTemplate templ);
+		public GhostPad.no_target (string name, Gst.PadDirection dir);
+		public GhostPad.no_target_from_template (string name, Gst.PadTemplate templ);
+		public bool set_target (Gst.Pad newtarget);
+	}
+	[CCode (cheader_filename = "gst/gst.h")]
 	public class Index : Gst.Object {
 		public weak GLib.List groups;
 		public weak Gst.IndexGroup curgroup;

Modified: trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.excludes
==============================================================================
--- trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.excludes	(original)
+++ trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.excludes	Sat Mar  8 20:54:00 2008
@@ -1,4 +1,3 @@
 gstconfig.h
-gstghostpad.h
 gstmacros.h
 gsttagsetter.h

Modified: trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.gi
==============================================================================
--- trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.gi	(original)
+++ trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.gi	Sat Mar  8 20:54:00 2008
@@ -1906,6 +1906,8 @@
 			<field name="description" type="gchar*"/>
 			<field name="quark" type="GQuark"/>
 		</struct>
+		<struct name="GstGhostPadClass">
+		</struct>
 		<struct name="GstIndexAssociation">
 			<field name="format" type="GstFormat"/>
 			<field name="value" type="gint64"/>
@@ -5444,6 +5446,50 @@
 			<field name="uri_protocols" type="gchar**"/>
 			<field name="interfaces" type="GList*"/>
 		</object>
+		<object name="GstGhostPad" parent="GstProxyPad" type-name="GstGhostPad" get-type="gst_ghost_pad_get_type">
+			<method name="get_target" symbol="gst_ghost_pad_get_target">
+				<return-type type="GstPad*"/>
+				<parameters>
+					<parameter name="gpad" type="GstGhostPad*"/>
+				</parameters>
+			</method>
+			<constructor name="new" symbol="gst_ghost_pad_new">
+				<return-type type="GstPad*"/>
+				<parameters>
+					<parameter name="name" type="gchar*"/>
+					<parameter name="target" type="GstPad*"/>
+				</parameters>
+			</constructor>
+			<constructor name="new_from_template" symbol="gst_ghost_pad_new_from_template">
+				<return-type type="GstPad*"/>
+				<parameters>
+					<parameter name="name" type="gchar*"/>
+					<parameter name="target" type="GstPad*"/>
+					<parameter name="templ" type="GstPadTemplate*"/>
+				</parameters>
+			</constructor>
+			<constructor name="new_no_target" symbol="gst_ghost_pad_new_no_target">
+				<return-type type="GstPad*"/>
+				<parameters>
+					<parameter name="name" type="gchar*"/>
+					<parameter name="dir" type="GstPadDirection"/>
+				</parameters>
+			</constructor>
+			<constructor name="new_no_target_from_template" symbol="gst_ghost_pad_new_no_target_from_template">
+				<return-type type="GstPad*"/>
+				<parameters>
+					<parameter name="name" type="gchar*"/>
+					<parameter name="templ" type="GstPadTemplate*"/>
+				</parameters>
+			</constructor>
+			<method name="set_target" symbol="gst_ghost_pad_set_target">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="gpad" type="GstGhostPad*"/>
+					<parameter name="newtarget" type="GstPad*"/>
+				</parameters>
+			</method>
+		</object>
 		<object name="GstIndex" parent="GstObject" type-name="GstIndex" get-type="gst_index_get_type">
 			<method name="add_association" symbol="gst_index_add_association">
 				<return-type type="GstIndexEntry*"/>

Modified: trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
==============================================================================
--- trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata	(original)
+++ trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata	Sat Mar  8 20:54:00 2008
@@ -21,6 +21,8 @@
 gst_element_query_position.format is_ref="1"
 gst_element_query_position.cur is_out="1"
 GstElementClass name="pointer"
+GstGhostPad base_class="GstPad"
+GstGhostPadClass hidden="1"
 gst_init hidden="1"
 gst_iterator_free hidden="1"
 gst_iterator_next hidden="1"



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