Add untested play/pause event code and change web interface to know which happened.

This commit is contained in:
Kevin Whitaker
2017-02-08 23:22:34 -05:00
parent 35279008ee
commit 41fa567f82
3 changed files with 44 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ public:
WebInterface(const Wt::WEnvironment& env);
~WebInterface();
void loginCompleted();
void playPauseActionFromServer(User userPausing);
void playPauseActionFromServer(User userPausing, bool pause);
void songChangedFromServer(AudioTrack nextTrack);
void voteTracksUpdatedFromServer(std::list<AudioTrack> voteableTracks);
void skipVotedFromServer(User userRequestingToSkipCurrentTrack);