diff options
author | Alex Merry <dev@randomguy3.me.uk> | 2011-01-27 23:34:47 +0000 |
---|---|---|
committer | Alex Merry <dev@randomguy3.me.uk> | 2011-01-27 23:34:47 +0000 |
commit | af962003cb45c965d50c88bc80a06c723e58b5d6 (patch) | |
tree | d54eb02ccedfb7390d6cd5a7690858e53abeb482 | |
parent | 0268c28c12652f4ae5734a906857d8c41a465e99 (diff) |
Add a PlaylistChanged signal to the Playlists interface to notify
clients of name or icon changes
-rw-r--r-- | spec/Playlists.xml | 18 | ||||
-rw-r--r-- | spec/all.xml | 3 |
2 files changed, 21 insertions, 0 deletions
diff --git a/spec/Playlists.xml b/spec/Playlists.xml index 1fcec28..1447834 100644 --- a/spec/Playlists.xml +++ b/spec/Playlists.xml @@ -40,6 +40,7 @@ <tp:member type="o" tp:type="Playlist_Id" name="Id"> <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>A unique identifier for the playlist.</p> + <p>This should remain the same if the playlist is renamed.</p> </tp:docstring> </tp:member> <tp:member type="s" name="Name"> @@ -221,6 +222,23 @@ </p> </tp:docstring> </property> + + <signal name="PlaylistChanged" tp:name-for-bindings="Playlist_Changed"> + <arg name="Playlist" type="(oss)" tp:type="Playlist"> + <tp:docstring> + <p>The playlist whose details have changed.</p> + </tp:docstring> + </arg> + <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> + <p> + Indicates that the name or icon for a playlist has changed. + </p> + <p> + Note that, for this signal to operate correctly, the id of the + playlist must not change when the name changes. + </p> + </tp:docstring> + </signal> </interface> </node> <!-- vim:set sw=2 sts=2 et ft=xml: --> diff --git a/spec/all.xml b/spec/all.xml index 3a5db5a..7c88aaa 100644 --- a/spec/all.xml +++ b/spec/all.xml @@ -141,6 +141,9 @@ 2010-09-26: Added EmitsChangedSignal annotation to Volume property on the Player interface. </li> + <li> + 2011-01-26: Added PlaylistChanged signal to the Playlists interface. + </li> </ul> </tp:docstring> </tp:section> |