zeroconf/avahi/Poll: add method GetEventLoop()
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user