diff options
author | Max Kellermann <max@duempel.org> | 2013-01-30 14:22:58 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-30 14:23:01 +0100 |
commit | 18c4b536f2ad721be5787f77176ef96298063bf2 (patch) | |
tree | 0765b96328f73b4b4878b9677808197d4ca99671 /src/event | |
parent | fa51db449fdb9558a4cb4542a86437ac9dd3ddbd (diff) | |
download | mpd-18c4b536f2ad721be5787f77176ef96298063bf2.tar.gz mpd-18c4b536f2ad721be5787f77176ef96298063bf2.tar.xz mpd-18c4b536f2ad721be5787f77176ef96298063bf2.zip |
event/ServerSocket: add method GetEventLoop()
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/ServerSocket.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event/ServerSocket.hxx b/src/event/ServerSocket.hxx index ec922d97f..600cdf8a7 100644 --- a/src/event/ServerSocket.hxx +++ b/src/event/ServerSocket.hxx @@ -49,6 +49,10 @@ public: ServerSocket(EventLoop &_loop); ~ServerSocket(); + EventLoop &GetEventLoop() { + return loop; + } + private: OneServerSocket &AddAddress(const sockaddr &address, size_t length); |