1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#pragma once #include <vector> #include "Swiften/Network/HostAddressPort.h" namespace Swift { class String; class DomainNameResolver { public: virtual ~DomainNameResolver(); virtual std::vector<HostAddressPort> resolve(const String& domain) = 0; }; }