summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-07-14 08:13:57 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-07-14 13:08:36 (GMT)
commit003381f417caaae9918cd81fa53bcc0547caa4c9 (patch)
treec0571987e87a115e5a7ad03eca55db972f6686c6 /Swiften/TLS
parent075c1f08245055e0060df2695e75bba54e697d36 (diff)
downloadswift-contrib-003381f417caaae9918cd81fa53bcc0547caa4c9.zip
swift-contrib-003381f417caaae9918cd81fa53bcc0547caa4c9.tar.bz2
Initial DLL support for Swiften.
All applications succesfully link against Swiften.dll.
Diffstat (limited to 'Swiften/TLS')
-rw-r--r--Swiften/TLS/CAPICertificate.h3
-rw-r--r--Swiften/TLS/CertificateTrustChecker.h7
-rw-r--r--Swiften/TLS/PlatformTLSFactories.h4
3 files changed, 9 insertions, 5 deletions
diff --git a/Swiften/TLS/CAPICertificate.h b/Swiften/TLS/CAPICertificate.h
index 5f24b7e..aebfb41 100644
--- a/Swiften/TLS/CAPICertificate.h
+++ b/Swiften/TLS/CAPICertificate.h
@@ -6,6 +6,7 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/Base/SafeByteArray.h>
#include <Swiften/TLS/CertificateWithKey.h>
@@ -21,7 +22,7 @@
namespace Swift {
class TimerFactory;
- class CAPICertificate : public Swift::CertificateWithKey {
+ class SWIFTEN_API CAPICertificate : public Swift::CertificateWithKey {
public:
CAPICertificate(const std::string& capiUri, TimerFactory* timerFactory);
diff --git a/Swiften/TLS/CertificateTrustChecker.h b/Swiften/TLS/CertificateTrustChecker.h
index 2ba6b40..4ec0b39 100644
--- a/Swiften/TLS/CertificateTrustChecker.h
+++ b/Swiften/TLS/CertificateTrustChecker.h
@@ -7,16 +7,17 @@
#pragma once
#include <boost/shared_ptr.hpp>
-
#include <string>
-#include <Swiften/TLS/Certificate.h>
#include <vector>
+#include <Swiften/Base/API.h>
+#include <Swiften/TLS/Certificate.h>
+
namespace Swift {
/**
* A class to implement a check for certificate trust.
*/
- class CertificateTrustChecker {
+ class SWIFTEN_API CertificateTrustChecker {
public:
virtual ~CertificateTrustChecker();
diff --git a/Swiften/TLS/PlatformTLSFactories.h b/Swiften/TLS/PlatformTLSFactories.h
index 605db31..850d6f9 100644
--- a/Swiften/TLS/PlatformTLSFactories.h
+++ b/Swiften/TLS/PlatformTLSFactories.h
@@ -6,11 +6,13 @@
#pragma once
+#include <Swiften/Base/API.h>
+
namespace Swift {
class TLSContextFactory;
class CertificateFactory;
- class PlatformTLSFactories {
+ class SWIFTEN_API PlatformTLSFactories {
public:
PlatformTLSFactories();
~PlatformTLSFactories();