#pragma once #include namespace Swift { class EventLoop; class TimerFactory; class UnboundDomainNameResolver : public DomainNameResolver { public: UnboundDomainNameResolver(EventLoop* eventLoop, TimerFactory* timerFactory); virtual ~UnboundDomainNameResolver(); virtual boost::shared_ptr createServiceQuery(const std::string& name); virtual boost::shared_ptr createAddressQuery(const std::string& name); private: EventLoop* eventLoop; TimerFactory* timerFactory; }; }