diff options
author | Tobias Markmann <tm@ayena.de> | 2015-06-07 22:34:19 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2015-06-08 09:37:53 (GMT) |
commit | b6b0695643f932827add43b9de0e09ed74eb6799 (patch) | |
tree | 72456efba9fab6fbc6004a98f0a61b7a8167f791 /Swiften/Session | |
parent | 3741c9ad5c0cc6f92e4ed913d67b3b530882334e (diff) | |
download | swift-b6b0695643f932827add43b9de0e09ed74eb6799.zip swift-b6b0695643f932827add43b9de0e09ed74eb6799.tar.bz2 |
Add missing SWIFTEN_API annotations to public Swiften API
Test-Information:
Tested build on Windows 8 with VS 2014 and ran unit tests.
Change-Id: I3d8096df4801be6901f22564e36eecba0e7310c4
Diffstat (limited to 'Swiften/Session')
-rw-r--r-- | Swiften/Session/BOSHSessionStream.h | 5 | ||||
-rw-r--r-- | Swiften/Session/BasicSessionStream.h | 5 | ||||
-rw-r--r-- | Swiften/Session/SessionStream.h | 4 | ||||
-rw-r--r-- | Swiften/Session/SessionTracer.h | 5 |
4 files changed, 11 insertions, 8 deletions
diff --git a/Swiften/Session/BOSHSessionStream.h b/Swiften/Session/BOSHSessionStream.h index c796905..e97436c 100644 --- a/Swiften/Session/BOSHSessionStream.h +++ b/Swiften/Session/BOSHSessionStream.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2014 Isode Limited. + * Copyright (c) 2011-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -8,6 +8,7 @@ #include <boost/shared_ptr.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Base/SafeString.h> #include <Swiften/Base/SafeByteArray.h> #include <Swiften/Network/BOSHConnectionPool.h> @@ -27,7 +28,7 @@ namespace Swift { class TLSContextFactory; class EventLoop; - class BOSHSessionStream : public SessionStream, public EventOwner, public boost::enable_shared_from_this<BOSHSessionStream> { + class SWIFTEN_API BOSHSessionStream : public SessionStream, public EventOwner, public boost::enable_shared_from_this<BOSHSessionStream> { public: BOSHSessionStream( const URL& boshURL, diff --git a/Swiften/Session/BasicSessionStream.h b/Swiften/Session/BasicSessionStream.h index a3b703c..7832e42 100644 --- a/Swiften/Session/BasicSessionStream.h +++ b/Swiften/Session/BasicSessionStream.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2014 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -8,6 +8,7 @@ #include <boost/shared_ptr.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Base/SafeByteArray.h> #include <Swiften/Network/Connection.h> #include <Swiften/Session/SessionStream.h> @@ -27,7 +28,7 @@ namespace Swift { class CompressionLayer; class XMLParserFactory; - class BasicSessionStream : public SessionStream { + class SWIFTEN_API BasicSessionStream : public SessionStream { public: BasicSessionStream( StreamType streamType, diff --git a/Swiften/Session/SessionStream.h b/Swiften/Session/SessionStream.h index 7f611ea..8513c1a 100644 --- a/Swiften/Session/SessionStream.h +++ b/Swiften/Session/SessionStream.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2014 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -22,7 +22,7 @@ namespace Swift { class SWIFTEN_API SessionStream { public: - class SessionStreamError : public Swift::Error { + class SWIFTEN_API SessionStreamError : public Swift::Error { public: enum Type { ParseError, diff --git a/Swiften/Session/SessionTracer.h b/Swiften/Session/SessionTracer.h index af34319..4900fd6 100644 --- a/Swiften/Session/SessionTracer.h +++ b/Swiften/Session/SessionTracer.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 <string> +#include <Swiften/Base/API.h> #include <Swiften/Session/Session.h> #include <Swiften/Base/SafeByteArray.h> namespace Swift { - class SessionTracer { + class SWIFTEN_API SessionTracer { public: SessionTracer(boost::shared_ptr<Session> session); |