new feature: command line switch for displaying now playing song

This commit is contained in:
Andrzej Rybczak
2009-08-23 22:38:05 +02:00
parent 56fd7bd7fc
commit b885c4f3a2
4 changed files with 45 additions and 23 deletions

View File

@@ -92,6 +92,8 @@ namespace MPD
Song &operator=(const Song &);
static std::string ShowTime(int);
static void ValidateFormat(const std::string &type, const std::string &format);
private:
void SetHashAndSlash();
std::string ParseFormat(std::string::const_iterator &it) const;