aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistGlobal.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-09 23:12:53 +0100
committerMax Kellermann <max@duempel.org>2013-01-09 23:31:43 +0100
commit26ebfc04b0668262976ec4fc38d8780c0937045a (patch)
tree9bbb7825ea5299c9ebd5ed0343e92da70d0012b6 /src/PlaylistGlobal.cxx
parent8782f6d232e43f1424e64c5c1f44d11679cf9c6e (diff)
downloadmpd-26ebfc04b0668262976ec4fc38d8780c0937045a.tar.gz
mpd-26ebfc04b0668262976ec4fc38d8780c0937045a.tar.xz
mpd-26ebfc04b0668262976ec4fc38d8780c0937045a.zip
EventPipe: rename to GlobalEvents
Diffstat (limited to '')
-rw-r--r--src/PlaylistGlobal.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PlaylistGlobal.cxx b/src/PlaylistGlobal.cxx
index 87f362a2e..9dd971d3f 100644
--- a/src/PlaylistGlobal.cxx
+++ b/src/PlaylistGlobal.cxx
@@ -27,7 +27,7 @@
#include "Playlist.hxx"
#include "Main.hxx"
#include "Partition.hxx"
-#include "EventPipe.hxx"
+#include "GlobalEvents.hxx"
static void
playlist_tag_event(void)
@@ -44,6 +44,6 @@ playlist_event(void)
void
playlist_global_init()
{
- event_pipe_register(PIPE_EVENT_TAG, playlist_tag_event);
- event_pipe_register(PIPE_EVENT_PLAYLIST, playlist_event);
+ GlobalEvents::Register(GlobalEvents::TAG, playlist_tag_event);
+ GlobalEvents::Register(GlobalEvents::PLAYLIST, playlist_event);
}