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(const MyAvahiPoll &) = delete;
|
||||||
MyAvahiPoll &operator=(const MyAvahiPoll &) = delete;
|
MyAvahiPoll &operator=(const MyAvahiPoll &) = delete;
|
||||||
|
|
||||||
|
EventLoop &GetEventLoop() const noexcept {
|
||||||
|
return event_loop;
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static AvahiWatch *WatchNew(const AvahiPoll *api, int fd,
|
static AvahiWatch *WatchNew(const AvahiPoll *api, int fd,
|
||||||
AvahiWatchEvent event,
|
AvahiWatchEvent event,
|
||||||
|
Loading…
Reference in New Issue
Block a user