Finish the ElementFactory/PluginFeature bindings

This commit is contained in:
Sebastian Dröge 2009-04-08 10:52:46 +02:00
parent 858368ec06
commit fab42913c8
4 changed files with 24 additions and 14 deletions

View file

@ -91,7 +91,7 @@
<MemberType>Property</MemberType>
<ReturnValue><ReturnType>Gst.State</ReturnType></ReturnValue>
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Disconnect"><MemberSignature Language="C#" Value="public void Disconnect (string signal, Gst.DynamicSignalHandler handler);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="signal" Type="System.String" /><Parameter Name="handler" Type="Gst.DynamicSignalHandler" /></Parameters><Docs><param name="signal">To be added.</param><param name="handler">To be added.</param><summary>To be added.</summary><remarks>To be added.</remarks></Docs></Member><Member MemberName="Factory">
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Disconnect"><MemberSignature Language="C#" Value="public void Disconnect (string signal, Gst.DynamicSignalHandler handler);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="signal" Type="System.String" /><Parameter Name="handler" Type="Gst.DynamicSignalHandler" /></Parameters><Docs><param name="signal">To be added.</param><param name="handler">To be added.</param><summary>To be added.</summary><remarks>To be added.</remarks></Docs></Member><Member MemberName="Emit"><MemberSignature Language="C#" Value="public object Emit (string signal, object[] parameters);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Parameters><Parameter Name="signal" Type="System.String" /><Parameter Name="parameters" Type="System.Object[]"><Attributes><Attribute><AttributeName>System.ParamArray</AttributeName></Attribute></Attributes></Parameter></Parameters><Docs><param name="signal">To be added.</param><param name="parameters">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks></Docs></Member><Member MemberName="Factory">
<MemberSignature Language="C#" Value="public Gst.ElementFactory Factory { get; }" />
<MemberType>Property</MemberType>
<ReturnValue><ReturnType>Gst.ElementFactory</ReturnType></ReturnValue>

View file

@ -104,14 +104,14 @@
<ReturnValue><ReturnType>System.UInt32</ReturnType></ReturnValue>
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="StaticPadTemplates">
<MemberSignature Language="C#" Value="public GLib.List StaticPadTemplates { get; }" />
<MemberSignature Language="C#" Value="public Gst.StaticPadTemplate[] StaticPadTemplates { get; }" />
<MemberType>Property</MemberType>
<ReturnValue><ReturnType>GLib.List</ReturnType></ReturnValue>
<ReturnValue><ReturnType>Gst.StaticPadTemplate[]</ReturnType></ReturnValue>
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="UriProtocols">
<MemberSignature Language="C#" Value="public string UriProtocols { get; }" />
<MemberSignature Language="C#" Value="public string[] UriProtocols { get; }" />
<MemberType>Property</MemberType>
<ReturnValue><ReturnType>System.String</ReturnType></ReturnValue>
<ReturnValue><ReturnType>System.String[]</ReturnType></ReturnValue>
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="UriType">
<MemberSignature Language="C#" Value="public int UriType { get; }" />

View file

@ -39,18 +39,12 @@
<ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue>
<Parameters><Parameter Name="min_major" Type="System.UInt32" /><Parameter Name="min_minor" Type="System.UInt32" /><Parameter Name="min_micro" Type="System.UInt32" /></Parameters>
<Docs><param name="min_major">To be added.</param><param name="min_minor">To be added.</param><param name="min_micro">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks></Docs>
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="GType">
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="FeatureName"><MemberSignature Language="C#" Value="public string FeatureName { set; get; }" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs></Member><Member MemberName="GType">
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; }" />
<MemberType>Property</MemberType>
<ReturnValue><ReturnType>GLib.GType</ReturnType></ReturnValue>
<Docs><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs>
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ListFree">
<MemberSignature Language="C#" Value="public static void ListFree (GLib.List list);" />
<MemberType>Method</MemberType>
<ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue>
<Parameters><Parameter Name="list" Type="GLib.List" /></Parameters>
<Docs><param name="list">To be added.</param><summary>To be added.</summary><remarks>To be added.</remarks></Docs>
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Rank">
<AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Load"><MemberSignature Language="C#" Value="public Gst.PluginFeature Load ();" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>0.9.5.99</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>Gst.PluginFeature</ReturnType></ReturnValue><Parameters /><Docs><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks></Docs></Member><Member MemberName="Rank">
<MemberSignature Language="C#" Value="public uint Rank { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue><ReturnType>System.UInt32</ReturnType></ReturnValue>

View file

@ -48,6 +48,15 @@
<attr path="/api/namespace/object[@name='Element']/method[@name='QueryDuration']" name="hidden">1</attr>
<attr path="/api/namespace/object[@name='ElementFactory']/method[@name='Make']/return-type" name="owned">true</attr>
<attr path="/api/namespace/object[@name='ElementFactory']/method[@name='Create']/return-type" name="owned">true</attr>
<attr path="/api/namespace/object[@name='ElementFactory']/method[@cname='gst_element_factory_get_uri_protocols']/return-type" name="null_term_array">1</attr>
<attr path="/api/namespace/object[@name='ElementFactory']/method[@cname='gst_element_factory_get_uri_protocols']/return-type" name="owned">false</attr>
<attr path="/api/namespace/object[@name='ElementFactory']/method[@cname='gst_element_factory_get_uri_protocols']/return-type" name="elements_owned">false</attr>
<attr path="/api/namespace/object[@name='ElementFactory']/method[@cname='gst_element_factory_get_static_pad_templates']/return-type" name="element_type">GstStaticPadTemplate</attr>
<attr path="/api/namespace/object[@name='ElementFactory']/method[@cname='gst_element_factory_get_static_pad_templates']/return-type" name="elements_owned">false</attr>
<attr path="/api/namespace/object[@name='ElementFactory']/method[@cname='gst_element_factory_get_static_pad_templates']/return-type" name="owned">false</attr>
<!-- FIXME: Add this once we bind gsturi.h
<attr path="/api/namespace/object[@name='ElementFactory']/method[@cname='gst_element_factory_get_uri_type']/return-type" name="type">GstURIType</attr>-->
<attr path="/api/namespace/enum[@name='ElementFlags']/member[@cname='GST_ELEMENT_FLAG_LAST']" name="name">Last</attr>
<attr path="/api/namespace/enum[@name='ElementFlags']/member[@cname='GST_ELEMENT_LOCKED_STATE']" name="value">ObjectFlags.Last &lt;&lt; 0</attr>
@ -227,7 +236,14 @@
<attr path="/api/namespace/object[@name='Plugin']/method[@name='LoadFile']" name="hidden">1</attr>
<attr path="/api/namespace/object[@name='PluginFeature']/field[@name='Name']" name="hidden">1</attr>
<attr path="/api/namespace/object[@name='PluginFeature']/method[@cname='gst_plugin_feature_set_name']" name="name">SetFeatureName</attr>
<attr path="/api/namespace/object[@name='PluginFeature']/method[@cname='gst_plugin_feature_get_name']" name="name">GetFeatureName</attr>
<add-node path="/api/namespace/object[@name='PluginFeature']">
<method cname="gst_plugin_feature_load" name="Load">
<return-type type="GstPluginFeature*" owned="true" />
</method>
</add-node>
<remove-node path="/api/namespace/object[@name='PluginFeature']/method[@cname='gst_plugin_feature_list_free']" />
<change-node-type path="/api/namespace/object[@name='Query']">boxed</change-node-type>
<attr path="/api/namespace/boxed[@name='Query']" name="opaque">true</attr>