summaryrefslogtreecommitdiff
path: root/src/helpers.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-09-15 00:10:03 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2012-09-15 00:18:22 +0200
commitc4190b65144a3f57da731906f9491e6b754b2d4f (patch)
tree6f8f57ed352db4ebc9b823c9f61208854a3a3baf /src/helpers.h
parent49a21370a6225ecd71c0ff8462ced3ba4f7be1a7 (diff)
rewrite selected items added so it uses sane actions dispatch system
Diffstat (limited to 'src/helpers.h')
-rw-r--r--src/helpers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/helpers.h b/src/helpers.h
index 13a6a365..7e6d39fb 100644
--- a/src/helpers.h
+++ b/src/helpers.h
@@ -466,6 +466,9 @@ template <typename T> void ShowTag(T &buf, const std::string &tag)
buf << tag;
}
+bool addSongToPlaylist(const MPD::Song &s, bool play, size_t position = -1);
+bool addSongsToPlaylist(const MPD::SongList &list, bool play, size_t position = -1);
+
std::string Timestamp(time_t t);
void markSongsInPlaylist(std::shared_ptr<ProxySongList> pl);