handle possible errors while saving playlist properly

This commit is contained in:
Andrzej Rybczak
2010-08-22 22:04:57 +02:00
parent 6af99edcc1
commit 1735a8c7db
3 changed files with 38 additions and 30 deletions

View File

@@ -184,7 +184,7 @@ namespace MPD
bool CommitCommandsList();
bool DeletePlaylist(const std::string &);
bool SavePlaylist(const std::string &);
int SavePlaylist(const std::string &);
void ClearPlaylist(const std::string &);
void AddToPlaylist(const std::string &, const Song &);
void AddToPlaylist(const std::string &, const std::string &);