Remove DummyConnectionFactory
This commit is contained in:
parent
193a798746
commit
658d17b42f
2 changed files with 0 additions and 45 deletions
|
@ -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 <Swiften/Network/DummyConnectionFactory.h>
|
||||
#include <Swiften/Network/DummyConnection.h>
|
||||
|
||||
namespace Swift {
|
||||
|
||||
DummyConnectionFactory::DummyConnectionFactory(EventLoop* eventLoop) : eventLoop(eventLoop) {
|
||||
}
|
||||
|
||||
boost::shared_ptr<Connection> DummyConnectionFactory::createConnection() {
|
||||
return boost::shared_ptr<Connection>(new DummyConnection(eventLoop));
|
||||
}
|
||||
|
||||
}
|
|
@ -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 <boost/asio/io_service.hpp>
|
||||
|
||||
#include <Swiften/Network/ConnectionFactory.h>
|
||||
#include <Swiften/Network/DummyConnection.h>
|
||||
|
||||
namespace Swift {
|
||||
class DummyConnection;
|
||||
|
||||
class DummyConnectionFactory : public ConnectionFactory {
|
||||
public:
|
||||
DummyConnectionFactory(EventLoop* eventLoop);
|
||||
|
||||
virtual boost::shared_ptr<Connection> createConnection();
|
||||
|
||||
private:
|
||||
EventLoop* eventLoop;
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue