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/TLS
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/TLS')
-rw-r--r--Swiften/TLS/Certificate.h3
-rw-r--r--Swiften/TLS/ServerIdentityVerifier.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/Swiften/TLS/Certificate.h b/Swiften/TLS/Certificate.h
index ec59a39..9aec86c 100644
--- a/Swiften/TLS/Certificate.h
+++ b/Swiften/TLS/Certificate.h
@@ -9,10 +9,11 @@
#include <boost/shared_ptr.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/ByteArray.h>
namespace Swift {
- class Certificate {
+ class SWIFTEN_API Certificate {
public:
typedef boost::shared_ptr<Certificate> ref;
diff --git a/Swiften/TLS/ServerIdentityVerifier.h b/Swiften/TLS/ServerIdentityVerifier.h
index b09abd9..730ee74 100644
--- a/Swiften/TLS/ServerIdentityVerifier.h
+++ b/Swiften/TLS/ServerIdentityVerifier.h
@@ -9,11 +9,12 @@
#include <boost/shared_ptr.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
#include <Swiften/TLS/Certificate.h>
namespace Swift {
- class ServerIdentityVerifier {
+ class SWIFTEN_API ServerIdentityVerifier {
public:
ServerIdentityVerifier(const JID& jid);