summaryrefslogtreecommitdiffstats
blob: b99ace3142b84cc7da4cf7cf3de8687cacd4192e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <boost/shared_ptr.hpp>

namespace Swift {
	class DomainNameServiceQuery;
	class DomainNameAddressQuery;
	class String;

	class DomainNameResolver {
		public:
			virtual ~DomainNameResolver();

			virtual boost::shared_ptr<DomainNameServiceQuery> createServiceQuery(const String& name) = 0;
			virtual boost::shared_ptr<DomainNameAddressQuery> createAddressQuery(const String& name) = 0;
	};
}