From 977004c3508a366499ff80ff87ac3a84b4fdf9eb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 7 Aug 2013 19:38:10 +0200 Subject: event/DeferredMonitor: use EventLoop::AddIdle() --- src/GlobalEvents.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/GlobalEvents.hxx') 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(); -- cgit v1.2.3