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/Disco
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/Disco')
-rw-r--r--Swiften/Disco/CapsInfoGenerator.h3
-rw-r--r--Swiften/Disco/CapsManager.h3
-rw-r--r--Swiften/Disco/DiscoInfoResponder.h3
-rw-r--r--Swiften/Disco/DummyEntityCapsProvider.h3
-rw-r--r--Swiften/Disco/EntityCapsManager.h3
-rw-r--r--Swiften/Disco/EntityCapsProvider.h3
-rw-r--r--Swiften/Disco/JIDDiscoInfoResponder.h3
7 files changed, 14 insertions, 7 deletions
diff --git a/Swiften/Disco/CapsInfoGenerator.h b/Swiften/Disco/CapsInfoGenerator.h
index d1b2663..62958e7 100644
--- a/Swiften/Disco/CapsInfoGenerator.h
+++ b/Swiften/Disco/CapsInfoGenerator.h
@@ -7,12 +7,13 @@
#pragma once
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/CapsInfo.h>
namespace Swift {
class DiscoInfo;
- class CapsInfoGenerator {
+ class SWIFTEN_API CapsInfoGenerator {
public:
CapsInfoGenerator(const std::string& node);
diff --git a/Swiften/Disco/CapsManager.h b/Swiften/Disco/CapsManager.h
index ddc7997..9f1d83b 100644
--- a/Swiften/Disco/CapsManager.h
+++ b/Swiften/Disco/CapsManager.h
@@ -9,6 +9,7 @@
#include <set>
#include <map>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/Elements/Presence.h>
#include <Swiften/Elements/DiscoInfo.h>
@@ -22,7 +23,7 @@ namespace Swift {
class JID;
class CapsStorage;
- class CapsManager : public CapsProvider, public boost::bsignals::trackable {
+ class SWIFTEN_API CapsManager : public CapsProvider, public boost::bsignals::trackable {
public:
CapsManager(CapsStorage*, StanzaChannel*, IQRouter*);
diff --git a/Swiften/Disco/DiscoInfoResponder.h b/Swiften/Disco/DiscoInfoResponder.h
index af9f48f..cfe4d06 100644
--- a/Swiften/Disco/DiscoInfoResponder.h
+++ b/Swiften/Disco/DiscoInfoResponder.h
@@ -8,13 +8,14 @@
#include <map>
+#include <Swiften/Base/API.h>
#include <Swiften/Queries/GetResponder.h>
#include <Swiften/Elements/DiscoInfo.h>
namespace Swift {
class IQRouter;
- class DiscoInfoResponder : public GetResponder<DiscoInfo> {
+ class SWIFTEN_API DiscoInfoResponder : public GetResponder<DiscoInfo> {
public:
DiscoInfoResponder(IQRouter* router);
diff --git a/Swiften/Disco/DummyEntityCapsProvider.h b/Swiften/Disco/DummyEntityCapsProvider.h
index a1e3db6..713e21a 100644
--- a/Swiften/Disco/DummyEntityCapsProvider.h
+++ b/Swiften/Disco/DummyEntityCapsProvider.h
@@ -8,10 +8,11 @@
#include <map>
+#include <Swiften/Base/API.h>
#include <Swiften/Disco/EntityCapsProvider.h>
namespace Swift {
- class DummyEntityCapsProvider : public EntityCapsProvider {
+ class SWIFTEN_API DummyEntityCapsProvider : public EntityCapsProvider {
public:
DummyEntityCapsProvider() {
}
diff --git a/Swiften/Disco/EntityCapsManager.h b/Swiften/Disco/EntityCapsManager.h
index e41c15f..4472ba5 100644
--- a/Swiften/Disco/EntityCapsManager.h
+++ b/Swiften/Disco/EntityCapsManager.h
@@ -8,6 +8,7 @@
#include <map>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/Elements/Presence.h>
#include <Swiften/Elements/DiscoInfo.h>
@@ -24,7 +25,7 @@ namespace Swift {
* This information is provided in the form of service discovery
* information.
*/
- class EntityCapsManager : public EntityCapsProvider, public boost::bsignals::trackable {
+ class SWIFTEN_API EntityCapsManager : public EntityCapsProvider, public boost::bsignals::trackable {
public:
EntityCapsManager(CapsProvider*, StanzaChannel*);
diff --git a/Swiften/Disco/EntityCapsProvider.h b/Swiften/Disco/EntityCapsProvider.h
index b38992c..54b090b 100644
--- a/Swiften/Disco/EntityCapsProvider.h
+++ b/Swiften/Disco/EntityCapsProvider.h
@@ -6,6 +6,7 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Elements/DiscoInfo.h>
@@ -16,7 +17,7 @@ namespace Swift {
* This information is provided in the form of service discovery
* information.
*/
- class EntityCapsProvider {
+ class SWIFTEN_API EntityCapsProvider {
public:
virtual ~EntityCapsProvider();
diff --git a/Swiften/Disco/JIDDiscoInfoResponder.h b/Swiften/Disco/JIDDiscoInfoResponder.h
index ebc1452..df529c6 100644
--- a/Swiften/Disco/JIDDiscoInfoResponder.h
+++ b/Swiften/Disco/JIDDiscoInfoResponder.h
@@ -8,6 +8,7 @@
#include <map>
+#include <Swiften/Base/API.h>
#include <Swiften/Queries/GetResponder.h>
#include <Swiften/Elements/DiscoInfo.h>
#include <Swiften/JID/JID.h>
@@ -15,7 +16,7 @@
namespace Swift {
class IQRouter;
- class JIDDiscoInfoResponder : public GetResponder<DiscoInfo> {
+ class SWIFTEN_API JIDDiscoInfoResponder : public GetResponder<DiscoInfo> {
public:
JIDDiscoInfoResponder(IQRouter* router);