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