summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-06-07 22:34:19 (GMT)
committerTobias Markmann <tm@ayena.de>2015-06-08 09:37:53 (GMT)
commitb6b0695643f932827add43b9de0e09ed74eb6799 (patch)
tree72456efba9fab6fbc6004a98f0a61b7a8167f791 /Swiften/Session
parent3741c9ad5c0cc6f92e4ed913d67b3b530882334e (diff)
downloadswift-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.h5
-rw-r--r--Swiften/Session/BasicSessionStream.h5
-rw-r--r--Swiften/Session/SessionStream.h4
-rw-r--r--Swiften/Session/SessionTracer.h5
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 @@
1/* 1/*
2 * Copyright (c) 2011-2014 Isode Limited. 2 * Copyright (c) 2011-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 <boost/shared_ptr.hpp> 9#include <boost/shared_ptr.hpp>
10 10
11#include <Swiften/Base/API.h>
11#include <Swiften/Base/SafeString.h> 12#include <Swiften/Base/SafeString.h>
12#include <Swiften/Base/SafeByteArray.h> 13#include <Swiften/Base/SafeByteArray.h>
13#include <Swiften/Network/BOSHConnectionPool.h> 14#include <Swiften/Network/BOSHConnectionPool.h>
@@ -27,7 +28,7 @@ namespace Swift {
27 class TLSContextFactory; 28 class TLSContextFactory;
28 class EventLoop; 29 class EventLoop;
29 30
30 class BOSHSessionStream : public SessionStream, public EventOwner, public boost::enable_shared_from_this<BOSHSessionStream> { 31 class SWIFTEN_API BOSHSessionStream : public SessionStream, public EventOwner, public boost::enable_shared_from_this<BOSHSessionStream> {
31 public: 32 public:
32 BOSHSessionStream( 33 BOSHSessionStream(
33 const URL& boshURL, 34 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 @@
1/* 1/*
2 * Copyright (c) 2010-2014 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 <boost/shared_ptr.hpp> 9#include <boost/shared_ptr.hpp>
10 10
11#include <Swiften/Base/API.h>
11#include <Swiften/Base/SafeByteArray.h> 12#include <Swiften/Base/SafeByteArray.h>
12#include <Swiften/Network/Connection.h> 13#include <Swiften/Network/Connection.h>
13#include <Swiften/Session/SessionStream.h> 14#include <Swiften/Session/SessionStream.h>
@@ -27,7 +28,7 @@ namespace Swift {
27 class CompressionLayer; 28 class CompressionLayer;
28 class XMLParserFactory; 29 class XMLParserFactory;
29 30
30 class BasicSessionStream : public SessionStream { 31 class SWIFTEN_API BasicSessionStream : public SessionStream {
31 public: 32 public:
32 BasicSessionStream( 33 BasicSessionStream(
33 StreamType streamType, 34 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 @@
1/* 1/*
2 * Copyright (c) 2010-2014 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 */
@@ -22,7 +22,7 @@
22namespace Swift { 22namespace Swift {
23 class SWIFTEN_API SessionStream { 23 class SWIFTEN_API SessionStream {
24 public: 24 public:
25 class SessionStreamError : public Swift::Error { 25 class SWIFTEN_API SessionStreamError : public Swift::Error {
26 public: 26 public:
27 enum Type { 27 enum Type {
28 ParseError, 28 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 @@
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 <string> 9#include <string>
10 10
11#include <Swiften/Base/API.h>
11#include <Swiften/Session/Session.h> 12#include <Swiften/Session/Session.h>
12#include <Swiften/Base/SafeByteArray.h> 13#include <Swiften/Base/SafeByteArray.h>
13 14
14namespace Swift { 15namespace Swift {
15 class SessionTracer { 16 class SWIFTEN_API SessionTracer {
16 public: 17 public:
17 SessionTracer(boost::shared_ptr<Session> session); 18 SessionTracer(boost::shared_ptr<Session> session);
18 19