summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/FileTransfer/SOCKS5BytestreamClientSession.h')
-rw-r--r--Swiften/FileTransfer/SOCKS5BytestreamClientSession.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/Swiften/FileTransfer/SOCKS5BytestreamClientSession.h b/Swiften/FileTransfer/SOCKS5BytestreamClientSession.h
index cf731c1..1c0563a 100644
--- a/Swiften/FileTransfer/SOCKS5BytestreamClientSession.h
+++ b/Swiften/FileTransfer/SOCKS5BytestreamClientSession.h
@@ -4,16 +4,22 @@
4 * See Documentation/Licenses/BSD-simplified.txt for more information. 4 * See Documentation/Licenses/BSD-simplified.txt for more information.
5 */ 5 */
6 6
7/*
8 * Copyright (c) 2015 Isode Limited.
9 * All rights reserved.
10 * See the COPYING file for more information.
11 */
12
7#pragma once 13#pragma once
8 14
9#include <boost/shared_ptr.hpp>
10#include <boost/optional.hpp> 15#include <boost/optional.hpp>
16#include <boost/shared_ptr.hpp>
11 17
12#include <Swiften/Base/API.h> 18#include <Swiften/Base/API.h>
13#include <Swiften/Base/ByteArray.h> 19#include <Swiften/Base/ByteArray.h>
14#include <Swiften/FileTransfer/FileTransferError.h> 20#include <Swiften/FileTransfer/FileTransferError.h>
15#include <Swiften/FileTransfer/WriteBytestream.h>
16#include <Swiften/FileTransfer/ReadBytestream.h> 21#include <Swiften/FileTransfer/ReadBytestream.h>
22#include <Swiften/FileTransfer/WriteBytestream.h>
17#include <Swiften/JID/JID.h> 23#include <Swiften/JID/JID.h>
18#include <Swiften/Network/Connection.h> 24#include <Swiften/Network/Connection.h>
19#include <Swiften/Network/HostAddressPort.h> 25#include <Swiften/Network/HostAddressPort.h>
@@ -96,10 +102,10 @@ private:
96 102
97 Timer::ref weFailedTimeout; 103 Timer::ref weFailedTimeout;
98 104
99 boost::bsignals::connection connectFinishedConnection; 105 boost::bsignals::scoped_connection connectFinishedConnection;
100 boost::bsignals::connection dataWrittenConnection; 106 boost::bsignals::scoped_connection dataWrittenConnection;
101 boost::bsignals::connection dataReadConnection; 107 boost::bsignals::scoped_connection dataReadConnection;
102 boost::bsignals::connection disconnectedConnection; 108 boost::bsignals::scoped_connection disconnectedConnection;
103}; 109};
104 110
105} 111}