diff options
author | Max Kellermann <max@duempel.org> | 2013-01-09 23:12:53 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-09 23:31:43 +0100 |
commit | 26ebfc04b0668262976ec4fc38d8780c0937045a (patch) | |
tree | 9bbb7825ea5299c9ebd5ed0343e92da70d0012b6 /src/PlayerThread.cxx | |
parent | 8782f6d232e43f1424e64c5c1f44d11679cf9c6e (diff) | |
download | mpd-26ebfc04b0668262976ec4fc38d8780c0937045a.tar.gz mpd-26ebfc04b0668262976ec4fc38d8780c0937045a.tar.xz mpd-26ebfc04b0668262976ec4fc38d8780c0937045a.zip |
EventPipe: rename to GlobalEvents
Diffstat (limited to 'src/PlayerThread.cxx')
-rw-r--r-- | src/PlayerThread.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx index 14c8a03f2..62b43739d 100644 --- a/src/PlayerThread.cxx +++ b/src/PlayerThread.cxx @@ -32,7 +32,7 @@ #include "OutputAll.hxx" #include "tag.h" #include "Idle.hxx" -#include "EventPipe.hxx" +#include "GlobalEvents.hxx" #include <cmath> @@ -285,7 +285,7 @@ player_wait_for_decoder(struct player *player) player_unlock(pc); /* call syncPlaylistWithQueue() in the main thread */ - event_pipe_emit(PIPE_EVENT_PLAYLIST); + GlobalEvents::Emit(GlobalEvents::PLAYLIST); return true; } @@ -665,7 +665,7 @@ update_song_tag(struct song *song, const struct tag *new_tag) /* the main thread will update the playlist version when he receives this event */ - event_pipe_emit(PIPE_EVENT_TAG); + GlobalEvents::Emit(GlobalEvents::TAG); /* notify all clients that the tag of the current song has changed */ @@ -909,7 +909,7 @@ static void do_play(struct player_control *pc, struct decoder_control *dc) player_dc_stop(&player); player_command_finished(pc); music_pipe_free(player.pipe); - event_pipe_emit(PIPE_EVENT_PLAYLIST); + GlobalEvents::Emit(GlobalEvents::PLAYLIST); player_lock(pc); return; } @@ -1086,7 +1086,7 @@ static void do_play(struct player_control *pc, struct decoder_control *dc) player_unlock(pc); - event_pipe_emit(PIPE_EVENT_PLAYLIST); + GlobalEvents::Emit(GlobalEvents::PLAYLIST); player_lock(pc); } |