spectrum2/include/Swiften/Network/DummyConnectionFactory.cpp
2011-08-25 11:24:03 +02:00

19 lines
525 B
C++

/*
* 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));
}
}