diff options
author | Max Kellermann <max@duempel.org> | 2013-08-08 21:49:17 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-08 23:03:38 +0200 |
commit | 090bc6fa794589afacc8b22f50b6d3aeb39fe0bd (patch) | |
tree | 8e4a4069f4533da140903e5199a9d657a51050b9 /src/event/SocketMonitor.hxx | |
parent | b63db1c1aa220cf9866f6b8b01b62f16e15c58a1 (diff) | |
download | mpd-090bc6fa794589afacc8b22f50b6d3aeb39fe0bd.tar.gz mpd-090bc6fa794589afacc8b22f50b6d3aeb39fe0bd.tar.xz mpd-090bc6fa794589afacc8b22f50b6d3aeb39fe0bd.zip |
event/*Monitor: add method GetEventLoop()
Diffstat (limited to 'src/event/SocketMonitor.hxx')
-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; } |