summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Network/CachingNameOnlyDomainNameResolver.cpp')
-rw-r--r--Swiften/Network/CachingNameOnlyDomainNameResolver.cpp30
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);
-}
-
-}