make changes from 7b6521a3 compatible with <mpd-0.14
This commit is contained in:
@@ -101,6 +101,11 @@ void Connection::Disconnect()
|
||||
ClearQueue();
|
||||
}
|
||||
|
||||
float Connection::Version() const
|
||||
{
|
||||
return itsConnection ? itsConnection->version[1] + itsConnection->version[2]*0.1 : 0;
|
||||
}
|
||||
|
||||
void Connection::SetHostname(const string &host)
|
||||
{
|
||||
size_t at = host.find("@");
|
||||
|
||||
Reference in New Issue
Block a user