aboutsummaryrefslogtreecommitdiffstats
path: root/src/GlobalEvents.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-07 19:38:10 +0200
committerMax Kellermann <max@duempel.org>2013-08-07 19:38:10 +0200
commit977004c3508a366499ff80ff87ac3a84b4fdf9eb (patch)
tree8aa2b14135a023454da1ea018d553471a8304a53 /src/GlobalEvents.hxx
parentfdc7d13ad16184c20d2bd37063cbb4d9957a4461 (diff)
downloadmpd-977004c3508a366499ff80ff87ac3a84b4fdf9eb.tar.gz
mpd-977004c3508a366499ff80ff87ac3a84b4fdf9eb.tar.xz
mpd-977004c3508a366499ff80ff87ac3a84b4fdf9eb.zip
event/DeferredMonitor: use EventLoop::AddIdle()
Diffstat (limited to 'src/GlobalEvents.hxx')
-rw-r--r--src/GlobalEvents.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/GlobalEvents.hxx b/src/GlobalEvents.hxx
index 16de7e675..47ec6d070 100644
--- a/src/GlobalEvents.hxx
+++ b/src/GlobalEvents.hxx
@@ -29,6 +29,8 @@
#endif
#endif
+class EventLoop;
+
namespace GlobalEvents {
enum Event {
/** database update was finished */
@@ -59,7 +61,7 @@ namespace GlobalEvents {
typedef void (*Handler)();
- void Initialize();
+ void Initialize(EventLoop &loop);
void Deinitialize();