move code responsible for adding selected items to playlists to misc.cpp

This commit is contained in:
Andrzej Rybczak
2009-08-29 23:53:36 +02:00
parent 588a023ba1
commit 4f3040e0ec
6 changed files with 258 additions and 136 deletions

View File

@@ -645,7 +645,7 @@ void Connection::StartCommandsList()
}
void Connection::CommitCommandsList()
bool Connection::CommitCommandsList()
{
if (isConnected)
{
@@ -656,6 +656,7 @@ void Connection::CommitCommandsList()
itsErrorHandler(this, MPD_ACK_ERROR_PLAYLIST_MAX, Message::FullPlaylist, NULL);
isCommandsListEnabled = 0;
}
return !CheckForErrors();
}
void Connection::DeletePlaylist(const std::string &name) const