#pragma once #include #include "Swiften/Network/DomainNameServiceQuery.h" #include "Swiften/EventLoop/EventOwner.h" #include "Swiften/Base/String.h" namespace Swift { class PlatformDomainNameServiceQuery : public DomainNameServiceQuery, public boost::enable_shared_from_this, public EventOwner { public: PlatformDomainNameServiceQuery(const String& service); virtual void run(); private: void emitError(); private: String service; }; }