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/Win32Main.cxx | |
parent | 8782f6d232e43f1424e64c5c1f44d11679cf9c6e (diff) | |
download | mpd-26ebfc04b0668262976ec4fc38d8780c0937045a.tar.gz mpd-26ebfc04b0668262976ec4fc38d8780c0937045a.tar.xz mpd-26ebfc04b0668262976ec4fc38d8780c0937045a.zip |
EventPipe: rename to GlobalEvents
Diffstat (limited to '')
-rw-r--r-- | src/Win32Main.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Win32Main.cxx b/src/Win32Main.cxx index 710811f47..8932e8edf 100644 --- a/src/Win32Main.cxx +++ b/src/Win32Main.cxx @@ -23,7 +23,7 @@ #ifdef WIN32 #include "mpd_error.h" -#include "EventPipe.hxx" +#include "GlobalEvents.hxx" #include <glib.h> @@ -68,7 +68,7 @@ service_dispatcher(G_GNUC_UNUSED DWORD control, G_GNUC_UNUSED DWORD event_type, switch (control) { case SERVICE_CONTROL_SHUTDOWN: case SERVICE_CONTROL_STOP: - event_pipe_emit(PIPE_EVENT_SHUTDOWN); + GlobalEvents::Emit(GlobalEvents::SHUTDOWN); return NO_ERROR; default: return NO_ERROR; @@ -104,7 +104,7 @@ console_handler(DWORD event) case CTRL_C_EVENT: case CTRL_CLOSE_EVENT: if (!ignore_console_events) - event_pipe_emit(PIPE_EVENT_SHUTDOWN); + GlobalEvents::Emit(GlobalEvents::SHUTDOWN); return TRUE; default: return FALSE; |