make MPD::Connection::Version() return integer instead of float

full version is always 0.xx.0, where xx is current
version of protocol, so why bother with zeros...
This commit is contained in:
Andrzej Rybczak
2010-04-01 12:54:05 +02:00
parent d02713789b
commit 230b6ae3e3
2 changed files with 3 additions and 6 deletions

View File

@@ -92,7 +92,7 @@ namespace MPD
const std::string & GetHostname() { return itsHost; }
int GetPort() { return itsPort; }
float Version() const;
unsigned Version() const;
void SetIdleEnabled(bool val) { isIdleEnabled = val; }
bool SupportsIdle() const { return supportsIdle; }