From 658d17b42fd5a36103da3d14cc59a6b217c2c967 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Tue, 4 Oct 2011 12:24:54 +0200 Subject: [PATCH] Remove DummyConnectionFactory --- .../Network/DummyConnectionFactory.cpp | 19 -------------- .../Swiften/Network/DummyConnectionFactory.h | 26 ------------------- 2 files changed, 45 deletions(-) delete mode 100644 include/Swiften/Network/DummyConnectionFactory.cpp delete mode 100644 include/Swiften/Network/DummyConnectionFactory.h diff --git a/include/Swiften/Network/DummyConnectionFactory.cpp b/include/Swiften/Network/DummyConnectionFactory.cpp deleted file mode 100644 index e458d179..00000000 --- a/include/Swiften/Network/DummyConnectionFactory.cpp +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright (c) 2010 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. - */ - -#include -#include - -namespace Swift { - -DummyConnectionFactory::DummyConnectionFactory(EventLoop* eventLoop) : eventLoop(eventLoop) { -} - -boost::shared_ptr DummyConnectionFactory::createConnection() { - return boost::shared_ptr(new DummyConnection(eventLoop)); -} - -} diff --git a/include/Swiften/Network/DummyConnectionFactory.h b/include/Swiften/Network/DummyConnectionFactory.h deleted file mode 100644 index 6f1a91d5..00000000 --- a/include/Swiften/Network/DummyConnectionFactory.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) 2010 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. - */ - -#pragma once - -#include - -#include -#include - -namespace Swift { - class DummyConnection; - - class DummyConnectionFactory : public ConnectionFactory { - public: - DummyConnectionFactory(EventLoop* eventLoop); - - virtual boost::shared_ptr createConnection(); - - private: - EventLoop* eventLoop; - }; -}