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/StreamStack
parent7693734b10699b5fc4bfc3d7dc33128d558e202d (diff)
downloadswift-contrib-3d6aa3b50090c19b50ae488494f1459bade88da3.zip
swift-contrib-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/StreamStack')
-rw-r--r--Swiften/StreamStack/HighLayer.h3
-rw-r--r--Swiften/StreamStack/LowLayer.h3
-rw-r--r--Swiften/StreamStack/StreamStack.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/Swiften/StreamStack/HighLayer.h b/Swiften/StreamStack/HighLayer.h
index 06b1d25..5669592 100644
--- a/Swiften/StreamStack/HighLayer.h
+++ b/Swiften/StreamStack/HighLayer.h
@@ -6,12 +6,13 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Base/SafeByteArray.h>
namespace Swift {
class LowLayer;
- class HighLayer {
+ class SWIFTEN_API HighLayer {
friend class StreamStack;
public:
diff --git a/Swiften/StreamStack/LowLayer.h b/Swiften/StreamStack/LowLayer.h
index 00960ea..ee3f7d3 100644
--- a/Swiften/StreamStack/LowLayer.h
+++ b/Swiften/StreamStack/LowLayer.h
@@ -6,12 +6,13 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Base/SafeByteArray.h>
namespace Swift {
class HighLayer;
- class LowLayer {
+ class SWIFTEN_API LowLayer {
friend class StreamStack;
public:
diff --git a/Swiften/StreamStack/StreamStack.h b/Swiften/StreamStack/StreamStack.h
index 30e17ce..8bbb235 100644
--- a/Swiften/StreamStack/StreamStack.h
+++ b/Swiften/StreamStack/StreamStack.h
@@ -10,6 +10,7 @@
#include <Swiften/Base/boost_bsignals.h>
#include <vector>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Stanza.h>
namespace Swift {
@@ -17,7 +18,7 @@ namespace Swift {
class LowLayer;
class StreamLayer;
- class StreamStack {
+ class SWIFTEN_API StreamStack {
public:
StreamStack(XMPPLayer* xmppLayer, LowLayer* physicalLayer);
~StreamStack();