aboutsummaryrefslogtreecommitdiff
path: root/src/Win32Main.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/Win32Main.cxx
parent8782f6d232e43f1424e64c5c1f44d11679cf9c6e (diff)
EventPipe: rename to GlobalEvents
Diffstat (limited to 'src/Win32Main.cxx')
-rw-r--r--src/Win32Main.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Win32Main.cxx b/src/Win32Main.cxx
index 710811f4..8932e8ed 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;