From 2b717997e2d09d18e569cd36524aef0f8a3b1716 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 2 Dec 2013 12:00:32 +0100 Subject: command: add commands "addtagid", "cleartagid" --- src/Playlist.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Playlist.hxx') diff --git a/src/Playlist.hxx b/src/Playlist.hxx index 5875ff4d8..2116abe7c 100644 --- a/src/Playlist.hxx +++ b/src/Playlist.hxx @@ -23,8 +23,10 @@ #include "Queue.hxx" #include "PlaylistError.hxx" +enum TagType : uint8_t; struct PlayerControl; struct Song; +class Error; struct playlist { /** @@ -205,6 +207,10 @@ public: PlaylistResult SetPriorityId(PlayerControl &pc, unsigned song_id, uint8_t priority); + bool AddSongIdTag(unsigned id, TagType tag_type, const char *value, + Error &error); + bool ClearSongIdTag(unsigned id, TagType tag_type, Error &error); + void Stop(PlayerControl &pc); PlaylistResult PlayPosition(PlayerControl &pc, int position); -- cgit v1.2.3