diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-06-17 08:16:04 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-06-17 08:16:04 (GMT) |
commit | 2b020adbee0be770c52f31699db793413d051bb3 (patch) | |
tree | e0beed93ef6e5714d28248abc3b6b9328a846ac1 /Swiften/Network/CachingNameOnlyDomainNameResolver.cpp | |
parent | d46097d2c30a0eafde1f1c9d98cb3b20896c4682 (diff) | |
download | swift-contrib-2b020adbee0be770c52f31699db793413d051bb3.zip swift-contrib-2b020adbee0be770c52f31699db793413d051bb3.tar.bz2 |
CachingNameOnlyDomainNameResolver -> CachingDomainNameResolver.
Diffstat (limited to 'Swiften/Network/CachingNameOnlyDomainNameResolver.cpp')
-rw-r--r-- | Swiften/Network/CachingNameOnlyDomainNameResolver.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Swiften/Network/CachingNameOnlyDomainNameResolver.cpp b/Swiften/Network/CachingNameOnlyDomainNameResolver.cpp deleted file mode 100644 index 8a2936a..0000000 --- a/Swiften/Network/CachingNameOnlyDomainNameResolver.cpp +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2012 Kevin Smith - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. - */ - -#include <Swiften/Network/CachingNameOnlyDomainNameResolver.h> - -#include <boost/smart_ptr/make_shared.hpp> - -namespace Swift { - -CachingNameOnlyDomainNameResolver::CachingNameOnlyDomainNameResolver(DomainNameResolver* realResolver, EventLoop*) : realResolver(realResolver) { -} - -CachingNameOnlyDomainNameResolver::~CachingNameOnlyDomainNameResolver() { - -} - -DomainNameServiceQuery::ref CachingNameOnlyDomainNameResolver::createServiceQuery(const std::string& name) { - //FIXME: Cache - return realResolver->createServiceQuery(name); -} - -DomainNameAddressQuery::ref CachingNameOnlyDomainNameResolver::createAddressQuery(const std::string& name) { - //FIXME: Cache - return realResolver->createAddressQuery(name); -} - -} |