summaryrefslogtreecommitdiffstats
blob: 5c83622050854ca22e8554e9e6435cd2a0b19515 (plain)
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;
	};
}