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 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -9,6 +9,7 @@ #include <boost/noncopyable.hpp> #include <Swiften/Base/boost_bsignals.h> +#include <Swiften/Base/API.h> #include <Swiften/Base/SafeByteArray.h> #include <Swiften/StreamStack/StreamLayer.h> #include <Swiften/Compress/ZLibException.h> @@ -19,7 +20,7 @@ namespace Swift { class ZLibCompressor; class ZLibDecompressor; - class CompressionLayer : public StreamLayer, boost::noncopyable { + class SWIFTEN_API CompressionLayer : public StreamLayer, boost::noncopyable { public: CompressionLayer() {} 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 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -8,11 +8,12 @@ #include <boost/shared_ptr.hpp> +#include <Swiften/Base/API.h> #include <Swiften/StreamStack/LowLayer.h> #include <Swiften/Network/Connection.h> namespace Swift { - class ConnectionLayer : public LowLayer { + class SWIFTEN_API ConnectionLayer : public LowLayer { public: ConnectionLayer(boost::shared_ptr<Connection> connection); ~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 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once +#include <Swiften/Base/API.h> #include <Swiften/StreamStack/LowLayer.h> #include <Swiften/StreamStack/HighLayer.h> namespace Swift { - class StreamLayer : public LowLayer, public HighLayer { + class SWIFTEN_API StreamLayer : public LowLayer, public HighLayer { public: StreamLayer() {} }; 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 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -8,6 +8,7 @@ #include <Swiften/Base/boost_bsignals.h> +#include <Swiften/Base/API.h> #include <Swiften/Base/SafeByteArray.h> #include <Swiften/StreamStack/StreamLayer.h> #include <Swiften/TLS/Certificate.h> @@ -19,7 +20,7 @@ namespace Swift { class TLSContext; class TLSContextFactory; - class TLSLayer : public StreamLayer { + class SWIFTEN_API TLSLayer : public StreamLayer { public: TLSLayer(TLSContextFactory*); ~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 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -9,13 +9,14 @@ #include <boost/noncopyable.hpp> #include <boost/shared_ptr.hpp> +#include <Swiften/Base/API.h> #include <Swiften/StreamStack/StreamLayer.h> namespace Swift { class Timer; class TimerFactory; - class WhitespacePingLayer : public StreamLayer, boost::noncopyable { + class SWIFTEN_API WhitespacePingLayer : public StreamLayer, boost::noncopyable { public: WhitespacePingLayer(TimerFactory* timerFactory); |