diff options
Diffstat (limited to 'src/event/MultiSocketMonitor.hxx')
-rw-r--r-- | src/event/MultiSocketMonitor.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/event/MultiSocketMonitor.hxx b/src/event/MultiSocketMonitor.hxx index bf0a221a2..781fdeca6 100644 --- a/src/event/MultiSocketMonitor.hxx +++ b/src/event/MultiSocketMonitor.hxx @@ -63,7 +63,10 @@ public: MultiSocketMonitor(EventLoop &_loop); ~MultiSocketMonitor(); -public: + EventLoop &GetEventLoop() { + return loop; + } + gcc_pure gint64 GetTime() const { return g_source_get_time(&source->base); |