pass to MPD::Connection::AddSong() another parameter - position to add

This commit is contained in:
Andrzej Rybczak
2009-10-10 16:23:00 +02:00
parent 2cbd015ce4
commit b979189111
2 changed files with 9 additions and 6 deletions

View File

@@ -152,8 +152,8 @@ namespace MPD
void SetCrossfade(unsigned) const;
void SetVolume(unsigned);
int AddSong(const std::string &); // returns id of added song
int AddSong(const Song &); // returns id of added song
int AddSong(const std::string &, int = -1); // returns id of added song
int AddSong(const Song &, int = -1); // returns id of added song
bool AddRandomSongs(size_t);
void Add(const std::string &path) const;
void Delete(unsigned) const;