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/SignalHandlers.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/SignalHandlers.cxx') diff --git a/src/SignalHandlers.cxx b/src/SignalHandlers.cxx index 14da08c7b..331028bde 100644 --- a/src/SignalHandlers.cxx +++ b/src/SignalHandlers.cxx @@ -24,7 +24,7 @@ #include "Log.hxx" #include "Main.hxx" -#include "EventPipe.hxx" +#include "GlobalEvents.hxx" #include "mpd_error.h" #include @@ -40,7 +40,7 @@ static void exit_signal_handler(G_GNUC_UNUSED int signum) static void reload_signal_handler(G_GNUC_UNUSED int signum) { - event_pipe_emit_fast(PIPE_EVENT_RELOAD); + GlobalEvents::FastEmit(GlobalEvents::RELOAD); } static void @@ -73,7 +73,7 @@ void initSigHandlers(void) x_sigaction(SIGINT, &sa); x_sigaction(SIGTERM, &sa); - event_pipe_register(PIPE_EVENT_RELOAD, handle_reload_event); + GlobalEvents::Register(GlobalEvents::RELOAD, handle_reload_event); sa.sa_handler = reload_signal_handler; x_sigaction(SIGHUP, &sa); #endif -- cgit v1.2.3