summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMirsal Ennaime <mirsal.ennaime@gmail.com>2010-08-11 22:40:07 +0200
committerMirsal Ennaime <mirsal.ennaime@gmail.com>2010-08-11 22:49:36 +0200
commitae2df2ec9700ae493aac21be91c931e97bb9bc46 (patch)
treec3976cfd061a3eb5faebdddeb280d64f3b9ee9ee
parent3a5a37b12fd605200cb0821095a66239c2c48bf2 (diff)
Switch the track id type from string to object_path
-rw-r--r--spec/Player_Node.xml4
-rw-r--r--spec/TrackList_Node.xml18
2 files changed, 11 insertions, 11 deletions
diff --git a/spec/Player_Node.xml b/spec/Player_Node.xml
index b2dba2b..1a7278a 100644
--- a/spec/Player_Node.xml
+++ b/spec/Player_Node.xml
@@ -51,7 +51,7 @@
</tp:docstring>
</tp:enum>
- <tp:simple-type name="Track_Id" type="s" array-name="Track_Id_List">
+ <tp:simple-type name="Track_Id" type="o" array-name="Track_Id_List">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>Unique track identifier.</p>
<p>
@@ -196,7 +196,7 @@
</method>
<method name="SetPosition" tp:name-for-bindings="Set_Position">
- <arg direction="in" type="s" tp:type="Track_Id" name="TrackId">
+ <arg direction="in" type="o" tp:type="Track_Id" name="TrackId">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The currently playing track's identifier.</p>
<p>
diff --git a/spec/TrackList_Node.xml b/spec/TrackList_Node.xml
index 0918a4c..4189b0f 100644
--- a/spec/TrackList_Node.xml
+++ b/spec/TrackList_Node.xml
@@ -83,7 +83,7 @@
</tp:simple-type>
<method name="GetTracksMetadata" tp:name-for-bindings="Get_Tracks_Metadata">
- <arg direction="in" name="TrackIds" type="as" tp:type="Track_Id[]">
+ <arg direction="in" name="TrackIds" type="ao" tp:type="Track_Id[]">
<tp:docstring>
<p>The list of track ids for which metadata is requested.</p>
</tp:docstring>
@@ -109,7 +109,7 @@
<p>The uri of the item to add.</p>
</tp:docstring>
</arg>
- <arg direction="in" type="s" tp:type="Track_Id" name="AfterTrack">
+ <arg direction="in" type="o" tp:type="Track_Id" name="AfterTrack">
<tp:docstring>
<p>
The identifier of the track after which
@@ -163,7 +163,7 @@
</method>
<method name="GoTo" tp:name-for-bindings="Go_To">
- <arg direction="in" type="s" tp:type="Track_Id" name="TrackId">
+ <arg direction="in" type="o" tp:type="Track_Id" name="TrackId">
<tp:docstring>
<p>Identifier of the track to skip to.</p>
</tp:docstring>
@@ -180,7 +180,7 @@
</tp:docstring>
</method>
- <property name="Tracks" type="as" tp:type="Track_Id[]" tp:name-for-bindings="Tracks" access="read">
+ <property name="Tracks" type="ao" tp:type="Track_Id[]" tp:name-for-bindings="Tracks" access="read">
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="invalidates"/>
<tp:docstring>
<p>
@@ -219,12 +219,12 @@
</property>
<signal name="TrackListReplaced" tp:name-for-bindings="Track_List_Replaced">
- <arg name="Tracks" type="as" tp:type="Track_Id[]">
+ <arg name="Tracks" type="ao" tp:type="Track_Id[]">
<tp:docstring>
<p>The new content of the tracklist.</p>
</tp:docstring>
</arg>
- <arg name="CurrentTrack" type="s" tp:type="Track_Id">
+ <arg name="CurrentTrack" type="o" tp:type="Track_Id">
<tp:docstring>
<p>The identifier of the track to be considered as current.</p>
</tp:docstring>
@@ -247,7 +247,7 @@
<p>This must include a trackid entry.</p>
</tp:docstring>
</arg>
- <arg type="s" tp:type="Track_Id" name="AfterTrack">
+ <arg type="o" tp:type="Track_Id" name="AfterTrack">
<tp:docstring>
<p>
The identifier of the track after which the new track
@@ -262,7 +262,7 @@
</signal>
<signal name="TrackRemoved" tp:name-for-bindings="Track_Removed">
- <arg type="s" tp:type="Track_Id" name="TrackId">
+ <arg type="o" tp:type="Track_Id" name="TrackId">
<tp:docstring>
<p>The identifier of the track being removed.</p>
</tp:docstring>
@@ -273,7 +273,7 @@
</signal>
<signal name="TrackMetadataChanged" tp:name-for-bindings="Track_Metadata_Changed">
- <arg type="s" tp:type="Track_Id" name="TrackId">
+ <arg type="o" tp:type="Track_Id" name="TrackId">
<tp:docstring>
<p>The id of the track which metadata has changed.</p>
</tp:docstring>