From 26ebfc04b0668262976ec4fc38d8780c0937045a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 9 Jan 2013 23:12:53 +0100 Subject: EventPipe: rename to GlobalEvents --- src/PlaylistGlobal.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/PlaylistGlobal.cxx') diff --git a/src/PlaylistGlobal.cxx b/src/PlaylistGlobal.cxx index 87f362a2..9dd971d3 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); } -- cgit v1.2.3