blob: 4c49cae1c1622f57f8f0304658118abafeb798c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/*
* Copyright (c) 2011 Thilo Cestonaro
* Licensed under the simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#include "BOSHConnectionFactory.h"
#include <Swiften/Network/BOSHConnection.h>
namespace Swift {
BOSHConnectionFactory::BOSHConnectionFactory(ConnectionFactory* connectionFactory) {
connectionFactory_ = connectionFactory;
}
boost::shared_ptr<Connection> BOSHConnectionFactory::createConnection() {
return BOSHConnection::create(connectionFactory_);
}
}
|