diff options
Diffstat (limited to 'Swiften/Network/PlatformDomainNameResolver.h')
-rw-r--r-- | Swiften/Network/PlatformDomainNameResolver.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/Swiften/Network/PlatformDomainNameResolver.h b/Swiften/Network/PlatformDomainNameResolver.h index 651bc97..4617b15 100644 --- a/Swiften/Network/PlatformDomainNameResolver.h +++ b/Swiften/Network/PlatformDomainNameResolver.h @@ -1,12 +1,6 @@ #pragma once -#include <string> -#include <vector> - -#include "Swiften/Base/String.h" #include "Swiften/Network/DomainNameResolver.h" -#include "Swiften/Network/HostAddress.h" -#include "Swiften/Network/HostAddressPort.h" namespace Swift { class String; @@ -15,11 +9,7 @@ namespace Swift { public: PlatformDomainNameResolver(); - std::vector<HostAddressPort> resolve(const String& domain); - - private: - std::vector<HostAddressPort> resolveDomain(const std::string& domain); - std::vector<HostAddressPort> resolveXMPPService(const std::string& domain); - HostAddress resolveHostName(const std::string& hostName); + virtual boost::shared_ptr<DomainNameServiceQuery> createServiceQuery(const String& name); + virtual boost::shared_ptr<DomainNameAddressQuery> createAddressQuery(const String& name); }; } |