keep proper songs' positions when playlist is modified

This commit is contained in:
Andrzej Rybczak
2009-02-22 13:53:41 +01:00
parent 12e437c5af
commit fe79d1ae94
3 changed files with 23 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ class Playlist : public Screen< Menu<MPD::Song> >
const MPD::Song *NowPlayingSong();
void Sort();
void FixPositions(size_t = 0);
static std::string SongToString(const MPD::Song &, void *);
static std::string SongInColumnsToString(const MPD::Song &, void *);