aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/TimeoutMonitor.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/TimeoutMonitor.hxx')
-rw-r--r--src/event/TimeoutMonitor.hxx4
1 files changed, 4 insertions, 0 deletions
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;
}