new feature: add selected items to playlist at given position

This commit is contained in:
Andrzej Rybczak
2009-11-26 21:41:30 +01:00
parent d2b9aee650
commit 03129784d4
4 changed files with 138 additions and 45 deletions

View File

@@ -64,8 +64,8 @@ class Playlist : public Screen<Window>
void UpdateTimer() { time(&itsTimer); }
time_t Timer() const { return itsTimer; }
bool Add(const MPD::Song &s, bool in_playlist, bool play);
bool Add(const MPD::SongList &l, bool play);
bool Add(const MPD::Song &s, bool in_playlist, bool play, int position = -1);
bool Add(const MPD::SongList &l, bool play, int position = -1);
static std::string SongToString(const MPD::Song &, void *);
static std::string SongInColumnsToString(const MPD::Song &, void *);