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/Compress
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/Compress')
-rw-r--r--Swiften/Compress/ZLibCodecompressor.h3
-rw-r--r--Swiften/Compress/ZLibCompressor.h3
-rw-r--r--Swiften/Compress/ZLibDecompressor.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/Swiften/Compress/ZLibCodecompressor.h b/Swiften/Compress/ZLibCodecompressor.h
index bfb56f4..6ff64df 100644
--- a/Swiften/Compress/ZLibCodecompressor.h
+++ b/Swiften/Compress/ZLibCodecompressor.h
@@ -6,10 +6,11 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Base/SafeByteArray.h>
namespace Swift {
- class ZLibCodecompressor {
+ class SWIFTEN_API ZLibCodecompressor {
public:
ZLibCodecompressor();
virtual ~ZLibCodecompressor();
diff --git a/Swiften/Compress/ZLibCompressor.h b/Swiften/Compress/ZLibCompressor.h
index f4a8d2f..3ba1955 100644
--- a/Swiften/Compress/ZLibCompressor.h
+++ b/Swiften/Compress/ZLibCompressor.h
@@ -6,10 +6,11 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Compress/ZLibCodecompressor.h>
namespace Swift {
- class ZLibCompressor : public ZLibCodecompressor {
+ class SWIFTEN_API ZLibCompressor : public ZLibCodecompressor {
public:
ZLibCompressor();
~ZLibCompressor();
diff --git a/Swiften/Compress/ZLibDecompressor.h b/Swiften/Compress/ZLibDecompressor.h
index 0726c8b..e3122f1 100644
--- a/Swiften/Compress/ZLibDecompressor.h
+++ b/Swiften/Compress/ZLibDecompressor.h
@@ -7,9 +7,10 @@
#pragma once
#include <Swiften/Compress/ZLibCodecompressor.h>
+#include <Swiften/Base/API.h>
namespace Swift {
- class ZLibDecompressor : public ZLibCodecompressor {
+ class SWIFTEN_API ZLibDecompressor : public ZLibCodecompressor {
public:
ZLibDecompressor();
~ZLibDecompressor();