summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-09-17 18:01:03 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-09-17 18:01:03 (GMT)
commit3d6aa3b50090c19b50ae488494f1459bade88da3 (patch)
tree60db50a40f01d2dc4b48e5aee1011f0e72643c39 /Swiften/Whiteboard
parent7693734b10699b5fc4bfc3d7dc33128d558e202d (diff)
downloadswift-3d6aa3b50090c19b50ae488494f1459bade88da3.zip
swift-3d6aa3b50090c19b50ae488494f1459bade88da3.tar.bz2
Support for building swiften as a DLL
Added missing SWIFTEN_API declarations. Changed test infrastructure to extend path before running tests.
Diffstat (limited to 'Swiften/Whiteboard')
-rw-r--r--Swiften/Whiteboard/IncomingWhiteboardSession.h3
-rw-r--r--Swiften/Whiteboard/OutgoingWhiteboardSession.h3
-rw-r--r--Swiften/Whiteboard/WhiteboardClient.h3
-rw-r--r--Swiften/Whiteboard/WhiteboardServer.h3
-rw-r--r--Swiften/Whiteboard/WhiteboardSession.h3
-rw-r--r--Swiften/Whiteboard/WhiteboardSessionManager.h3
6 files changed, 12 insertions, 6 deletions
diff --git a/Swiften/Whiteboard/IncomingWhiteboardSession.h b/Swiften/Whiteboard/IncomingWhiteboardSession.h
index beaf267..54b5fb6 100644
--- a/Swiften/Whiteboard/IncomingWhiteboardSession.h
+++ b/Swiften/Whiteboard/IncomingWhiteboardSession.h
@@ -6,12 +6,13 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Whiteboard/WhiteboardSession.h>
#include <Swiften/Whiteboard/WhiteboardClient.h>
#include <boost/shared_ptr.hpp>
namespace Swift {
- class IncomingWhiteboardSession : public WhiteboardSession {
+ class SWIFTEN_API IncomingWhiteboardSession : public WhiteboardSession {
public:
typedef boost::shared_ptr<IncomingWhiteboardSession> ref;
diff --git a/Swiften/Whiteboard/OutgoingWhiteboardSession.h b/Swiften/Whiteboard/OutgoingWhiteboardSession.h
index 631f7ba..5db9c97 100644
--- a/Swiften/Whiteboard/OutgoingWhiteboardSession.h
+++ b/Swiften/Whiteboard/OutgoingWhiteboardSession.h
@@ -10,9 +10,10 @@
#include <Swiften/Whiteboard/WhiteboardServer.h>
#include <boost/shared_ptr.hpp>
#include <Swiften/Queries/GenericRequest.h>
+#include <Swiften/Base/API.h>
namespace Swift {
- class OutgoingWhiteboardSession : public WhiteboardSession {
+ class SWIFTEN_API OutgoingWhiteboardSession : public WhiteboardSession {
public:
typedef boost::shared_ptr<OutgoingWhiteboardSession> ref;
diff --git a/Swiften/Whiteboard/WhiteboardClient.h b/Swiften/Whiteboard/WhiteboardClient.h
index 388f948..2cc46a6 100644
--- a/Swiften/Whiteboard/WhiteboardClient.h
+++ b/Swiften/Whiteboard/WhiteboardClient.h
@@ -6,12 +6,13 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Whiteboard/WhiteboardOperation.h>
#include <list>
#include <utility>
namespace Swift {
- class WhiteboardClient {
+ class SWIFTEN_API WhiteboardClient {
public:
struct Result {
WhiteboardOperation::ref client;
diff --git a/Swiften/Whiteboard/WhiteboardServer.h b/Swiften/Whiteboard/WhiteboardServer.h
index 658254b..73e8d33 100644
--- a/Swiften/Whiteboard/WhiteboardServer.h
+++ b/Swiften/Whiteboard/WhiteboardServer.h
@@ -6,12 +6,13 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Whiteboard/WhiteboardInsertOperation.h>
#include <list>
namespace Swift {
- class WhiteboardServer {
+ class SWIFTEN_API WhiteboardServer {
public:
void handleLocalOperationReceived(WhiteboardOperation::ref operation);
WhiteboardOperation::ref handleClientOperationReceived(WhiteboardOperation::ref operation);
diff --git a/Swiften/Whiteboard/WhiteboardSession.h b/Swiften/Whiteboard/WhiteboardSession.h
index 39fa341..14fa632 100644
--- a/Swiften/Whiteboard/WhiteboardSession.h
+++ b/Swiften/Whiteboard/WhiteboardSession.h
@@ -8,6 +8,7 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/Base/IDGenerator.h>
@@ -20,7 +21,7 @@ namespace Swift {
class ErrorPayload;
class WhiteboardPayload;
- class WhiteboardSession {
+ class SWIFTEN_API WhiteboardSession {
public:
typedef boost::shared_ptr<WhiteboardSession> ref;
diff --git a/Swiften/Whiteboard/WhiteboardSessionManager.h b/Swiften/Whiteboard/WhiteboardSessionManager.h
index f696eb8..d06b856 100644
--- a/Swiften/Whiteboard/WhiteboardSessionManager.h
+++ b/Swiften/Whiteboard/WhiteboardSessionManager.h
@@ -8,6 +8,7 @@
#include <map>
+#include <Swiften/Base/API.h>
#include <Swiften/Queries/IQRouter.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Client/StanzaChannel.h>
@@ -22,7 +23,7 @@ namespace Swift {
class PresenceOracle;
class EntityCapsProvider;
- class WhiteboardSessionManager {
+ class SWIFTEN_API WhiteboardSessionManager {
friend class WhiteboardResponder;
public:
WhiteboardSessionManager(IQRouter* router, StanzaChannel* stanzaChannel, PresenceOracle* presenceOracle, EntityCapsProvider* capsProvider);