diff options
Diffstat (limited to 'Swiften/StreamStack')
| -rw-r--r-- | Swiften/StreamStack/CompressionLayer.h | 5 | ||||
| -rw-r--r-- | Swiften/StreamStack/ConnectionLayer.h | 5 | ||||
| -rw-r--r-- | Swiften/StreamStack/StreamLayer.h | 5 | ||||
| -rw-r--r-- | Swiften/StreamStack/TLSLayer.h | 5 | ||||
| -rw-r--r-- | Swiften/StreamStack/WhitespacePingLayer.h | 5 |
5 files changed, 15 insertions, 10 deletions
diff --git a/Swiften/StreamStack/CompressionLayer.h b/Swiften/StreamStack/CompressionLayer.h index 4f0812b..db43b60 100644 --- a/Swiften/StreamStack/CompressionLayer.h +++ b/Swiften/StreamStack/CompressionLayer.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010 Isode Limited. | 2 | * Copyright (c) 2010-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -9,6 +9,7 @@ | |||
| 9 | #include <boost/noncopyable.hpp> | 9 | #include <boost/noncopyable.hpp> |
| 10 | #include <Swiften/Base/boost_bsignals.h> | 10 | #include <Swiften/Base/boost_bsignals.h> |
| 11 | 11 | ||
| 12 | #include <Swiften/Base/API.h> | ||
| 12 | #include <Swiften/Base/SafeByteArray.h> | 13 | #include <Swiften/Base/SafeByteArray.h> |
| 13 | #include <Swiften/StreamStack/StreamLayer.h> | 14 | #include <Swiften/StreamStack/StreamLayer.h> |
| 14 | #include <Swiften/Compress/ZLibException.h> | 15 | #include <Swiften/Compress/ZLibException.h> |
| @@ -19,7 +20,7 @@ namespace Swift { | |||
| 19 | class ZLibCompressor; | 20 | class ZLibCompressor; |
| 20 | class ZLibDecompressor; | 21 | class ZLibDecompressor; |
| 21 | 22 | ||
| 22 | class CompressionLayer : public StreamLayer, boost::noncopyable { | 23 | class SWIFTEN_API CompressionLayer : public StreamLayer, boost::noncopyable { |
| 23 | public: | 24 | public: |
| 24 | CompressionLayer() {} | 25 | CompressionLayer() {} |
| 25 | 26 | ||
diff --git a/Swiften/StreamStack/ConnectionLayer.h b/Swiften/StreamStack/ConnectionLayer.h index b850016..2ff1c3c 100644 --- a/Swiften/StreamStack/ConnectionLayer.h +++ b/Swiften/StreamStack/ConnectionLayer.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010 Isode Limited. | 2 | * Copyright (c) 2010-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -8,11 +8,12 @@ | |||
| 8 | 8 | ||
| 9 | #include <boost/shared_ptr.hpp> | 9 | #include <boost/shared_ptr.hpp> |
| 10 | 10 | ||
| 11 | #include <Swiften/Base/API.h> | ||
| 11 | #include <Swiften/StreamStack/LowLayer.h> | 12 | #include <Swiften/StreamStack/LowLayer.h> |
| 12 | #include <Swiften/Network/Connection.h> | 13 | #include <Swiften/Network/Connection.h> |
| 13 | 14 | ||
| 14 | namespace Swift { | 15 | namespace Swift { |
| 15 | class ConnectionLayer : public LowLayer { | 16 | class SWIFTEN_API ConnectionLayer : public LowLayer { |
| 16 | public: | 17 | public: |
| 17 | ConnectionLayer(boost::shared_ptr<Connection> connection); | 18 | ConnectionLayer(boost::shared_ptr<Connection> connection); |
| 18 | ~ConnectionLayer(); | 19 | ~ConnectionLayer(); |
diff --git a/Swiften/StreamStack/StreamLayer.h b/Swiften/StreamStack/StreamLayer.h index d3f7388..b860c93 100644 --- a/Swiften/StreamStack/StreamLayer.h +++ b/Swiften/StreamStack/StreamLayer.h | |||
| @@ -1,16 +1,17 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010 Isode Limited. | 2 | * Copyright (c) 2010-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #pragma once | 7 | #pragma once |
| 8 | 8 | ||
| 9 | #include <Swiften/Base/API.h> | ||
| 9 | #include <Swiften/StreamStack/LowLayer.h> | 10 | #include <Swiften/StreamStack/LowLayer.h> |
| 10 | #include <Swiften/StreamStack/HighLayer.h> | 11 | #include <Swiften/StreamStack/HighLayer.h> |
| 11 | 12 | ||
| 12 | namespace Swift { | 13 | namespace Swift { |
| 13 | class StreamLayer : public LowLayer, public HighLayer { | 14 | class SWIFTEN_API StreamLayer : public LowLayer, public HighLayer { |
| 14 | public: | 15 | public: |
| 15 | StreamLayer() {} | 16 | StreamLayer() {} |
| 16 | }; | 17 | }; |
diff --git a/Swiften/StreamStack/TLSLayer.h b/Swiften/StreamStack/TLSLayer.h index 748b6ac..089512d 100644 --- a/Swiften/StreamStack/TLSLayer.h +++ b/Swiften/StreamStack/TLSLayer.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010 Isode Limited. | 2 | * Copyright (c) 2010-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -8,6 +8,7 @@ | |||
| 8 | 8 | ||
| 9 | #include <Swiften/Base/boost_bsignals.h> | 9 | #include <Swiften/Base/boost_bsignals.h> |
| 10 | 10 | ||
| 11 | #include <Swiften/Base/API.h> | ||
| 11 | #include <Swiften/Base/SafeByteArray.h> | 12 | #include <Swiften/Base/SafeByteArray.h> |
| 12 | #include <Swiften/StreamStack/StreamLayer.h> | 13 | #include <Swiften/StreamStack/StreamLayer.h> |
| 13 | #include <Swiften/TLS/Certificate.h> | 14 | #include <Swiften/TLS/Certificate.h> |
| @@ -19,7 +20,7 @@ namespace Swift { | |||
| 19 | class TLSContext; | 20 | class TLSContext; |
| 20 | class TLSContextFactory; | 21 | class TLSContextFactory; |
| 21 | 22 | ||
| 22 | class TLSLayer : public StreamLayer { | 23 | class SWIFTEN_API TLSLayer : public StreamLayer { |
| 23 | public: | 24 | public: |
| 24 | TLSLayer(TLSContextFactory*); | 25 | TLSLayer(TLSContextFactory*); |
| 25 | ~TLSLayer(); | 26 | ~TLSLayer(); |
diff --git a/Swiften/StreamStack/WhitespacePingLayer.h b/Swiften/StreamStack/WhitespacePingLayer.h index 18d13d1..17b0654 100644 --- a/Swiften/StreamStack/WhitespacePingLayer.h +++ b/Swiften/StreamStack/WhitespacePingLayer.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010 Isode Limited. | 2 | * Copyright (c) 2010-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -9,13 +9,14 @@ | |||
| 9 | #include <boost/noncopyable.hpp> | 9 | #include <boost/noncopyable.hpp> |
| 10 | #include <boost/shared_ptr.hpp> | 10 | #include <boost/shared_ptr.hpp> |
| 11 | 11 | ||
| 12 | #include <Swiften/Base/API.h> | ||
| 12 | #include <Swiften/StreamStack/StreamLayer.h> | 13 | #include <Swiften/StreamStack/StreamLayer.h> |
| 13 | 14 | ||
| 14 | namespace Swift { | 15 | namespace Swift { |
| 15 | class Timer; | 16 | class Timer; |
| 16 | class TimerFactory; | 17 | class TimerFactory; |
| 17 | 18 | ||
| 18 | class WhitespacePingLayer : public StreamLayer, boost::noncopyable { | 19 | class SWIFTEN_API WhitespacePingLayer : public StreamLayer, boost::noncopyable { |
| 19 | public: | 20 | public: |
| 20 | WhitespacePingLayer(TimerFactory* timerFactory); | 21 | WhitespacePingLayer(TimerFactory* timerFactory); |
| 21 | 22 | ||
Swift