From 090bc6fa794589afacc8b22f50b6d3aeb39fe0bd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 8 Aug 2013 21:49:17 +0200 Subject: event/*Monitor: add method GetEventLoop() --- src/event/TimeoutMonitor.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/event/TimeoutMonitor.hxx') diff --git a/src/event/TimeoutMonitor.hxx b/src/event/TimeoutMonitor.hxx index 4ebc6b644..b0550933e 100644 --- a/src/event/TimeoutMonitor.hxx +++ b/src/event/TimeoutMonitor.hxx @@ -38,6 +38,10 @@ public: Cancel(); } + EventLoop &GetEventLoop() { + return loop; + } + bool IsActive() const { return source != nullptr; } -- cgit v1.2.3