aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/SocketMonitor.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/SocketMonitor.hxx')
-rw-r--r--src/event/SocketMonitor.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event/SocketMonitor.hxx b/src/event/SocketMonitor.hxx
index 1abeb82ca..85866280c 100644
--- a/src/event/SocketMonitor.hxx
+++ b/src/event/SocketMonitor.hxx
@@ -66,6 +66,10 @@ public:
~SocketMonitor();
+ EventLoop &GetEventLoop() {
+ return loop;
+ }
+
bool IsDefined() const {
return fd >= 0;
}