status: fix toggling flags

This commit is contained in:
Andrzej Rybczak
2014-09-03 19:07:55 +02:00
parent 18de4c1e77
commit 06a07b0d33
10 changed files with 72 additions and 149 deletions

View File

@@ -33,23 +33,12 @@ void trace(bool update_timer, bool update_window_timeout);
inline void trace() { trace(true, false); }
void update(int event);
namespace State {//
bool repeat();
bool random();
bool single();
bool consume();
bool crossfade();
MPD::PlayerState player();
int volume();
const MPD::Status &get();
unsigned elapsedTime();
}
namespace Changes {//
void playlist();
void playlist(unsigned previous_version);
void storedPlaylists();
void database();
void playerState();