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/SASL
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/SASL')
-rw-r--r--Swiften/SASL/ClientAuthenticator.h3
-rw-r--r--Swiften/SASL/DIGESTMD5ClientAuthenticator.h3
-rw-r--r--Swiften/SASL/DIGESTMD5Properties.h3
-rw-r--r--Swiften/SASL/PLAINClientAuthenticator.h3
-rw-r--r--Swiften/SASL/SCRAMSHA1ClientAuthenticator.h3
5 files changed, 10 insertions, 5 deletions
diff --git a/Swiften/SASL/ClientAuthenticator.h b/Swiften/SASL/ClientAuthenticator.h
index 8710ac8..bc5b4f1 100644
--- a/Swiften/SASL/ClientAuthenticator.h
+++ b/Swiften/SASL/ClientAuthenticator.h
@@ -10,11 +10,12 @@
#include <string>
#include <vector>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/SafeByteArray.h>
#include <Swiften/Base/ByteArray.h>
namespace Swift {
- class ClientAuthenticator {
+ class SWIFTEN_API ClientAuthenticator {
public:
ClientAuthenticator(const std::string& name);
virtual ~ClientAuthenticator();
diff --git a/Swiften/SASL/DIGESTMD5ClientAuthenticator.h b/Swiften/SASL/DIGESTMD5ClientAuthenticator.h
index 7ced962..01cdde9 100644
--- a/Swiften/SASL/DIGESTMD5ClientAuthenticator.h
+++ b/Swiften/SASL/DIGESTMD5ClientAuthenticator.h
@@ -10,12 +10,13 @@
#include <string>
#include <vector>
+#include <Swiften/Base/API.h>
#include <Swiften/SASL/ClientAuthenticator.h>
#include <Swiften/SASL/DIGESTMD5Properties.h>
#include <Swiften/Base/SafeByteArray.h>
namespace Swift {
- class DIGESTMD5ClientAuthenticator : public ClientAuthenticator {
+ class SWIFTEN_API DIGESTMD5ClientAuthenticator : public ClientAuthenticator {
public:
DIGESTMD5ClientAuthenticator(const std::string& host, const std::string& nonce);
diff --git a/Swiften/SASL/DIGESTMD5Properties.h b/Swiften/SASL/DIGESTMD5Properties.h
index ef87574..654208d 100644
--- a/Swiften/SASL/DIGESTMD5Properties.h
+++ b/Swiften/SASL/DIGESTMD5Properties.h
@@ -10,10 +10,11 @@
#include <boost/optional.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/ByteArray.h>
namespace Swift {
- class DIGESTMD5Properties {
+ class SWIFTEN_API DIGESTMD5Properties {
public:
DIGESTMD5Properties();
diff --git a/Swiften/SASL/PLAINClientAuthenticator.h b/Swiften/SASL/PLAINClientAuthenticator.h
index 83e45c1..ad3a695 100644
--- a/Swiften/SASL/PLAINClientAuthenticator.h
+++ b/Swiften/SASL/PLAINClientAuthenticator.h
@@ -6,11 +6,12 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/SASL/ClientAuthenticator.h>
#include <Swiften/Base/ByteArray.h>
namespace Swift {
- class PLAINClientAuthenticator : public ClientAuthenticator {
+ class SWIFTEN_API PLAINClientAuthenticator : public ClientAuthenticator {
public:
PLAINClientAuthenticator();
diff --git a/Swiften/SASL/SCRAMSHA1ClientAuthenticator.h b/Swiften/SASL/SCRAMSHA1ClientAuthenticator.h
index d140013..ace69b0 100644
--- a/Swiften/SASL/SCRAMSHA1ClientAuthenticator.h
+++ b/Swiften/SASL/SCRAMSHA1ClientAuthenticator.h
@@ -12,9 +12,10 @@
#include <string>
#include <Swiften/Base/ByteArray.h>
#include <Swiften/SASL/ClientAuthenticator.h>
+#include <Swiften/Base/API.h>
namespace Swift {
- class SCRAMSHA1ClientAuthenticator : public ClientAuthenticator {
+ class SWIFTEN_API SCRAMSHA1ClientAuthenticator : public ClientAuthenticator {
public:
SCRAMSHA1ClientAuthenticator(const std::string& nonce, bool useChannelBinding = false);