new feature: sort songs in browser by mtime (optional)

This commit is contained in:
Andrzej Rybczak
2009-10-10 23:32:05 +02:00
parent b48133a743
commit 3551057dbb
7 changed files with 17 additions and 2 deletions

View File

@@ -64,6 +64,8 @@ namespace MPD
unsigned GetPosition() const { return mpd_song_get_pos(itsSong); }
unsigned GetID() const { return mpd_song_get_id(itsSong); }
time_t GetMTime() const { return mpd_song_get_last_modified(itsSong); }
void SetArtist(const std::string &, unsigned = 0);
void SetTitle(const std::string &, unsigned = 0);
void SetAlbum(const std::string &, unsigned = 0);