Commit c1a695d1 authored by Max Kellermann's avatar Max Kellermann

zeroconf/avahi/Poll: add method GetEventLoop()

parent ec05056e
......@@ -33,6 +33,10 @@ public:
MyAvahiPoll(const MyAvahiPoll &) = delete;
MyAvahiPoll &operator=(const MyAvahiPoll &) = delete;
EventLoop &GetEventLoop() const noexcept {
return event_loop;
}
private:
static AvahiWatch *WatchNew(const AvahiPoll *api, int fd,
AvahiWatchEvent event,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment