diff options
Diffstat (limited to '')
-rw-r--r-- | src/event/SocketMonitor.hxx | 4 |
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; } |