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/Presence
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/Presence')
-rw-r--r--Swiften/Presence/DirectedPresenceSender.h3
-rw-r--r--Swiften/Presence/PayloadAddingPresenceSender.h3
-rw-r--r--Swiften/Presence/StanzaChannelPresenceSender.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/Swiften/Presence/DirectedPresenceSender.h b/Swiften/Presence/DirectedPresenceSender.h
index 7dbdd37..0eb16a4 100644
--- a/Swiften/Presence/DirectedPresenceSender.h
+++ b/Swiften/Presence/DirectedPresenceSender.h
@@ -10,9 +10,10 @@
#include <Swiften/Elements/Presence.h>
#include <Swiften/Presence/PresenceSender.h>
+#include <Swiften/Base/API.h>
namespace Swift {
- class DirectedPresenceSender : public PresenceSender {
+ class SWIFTEN_API DirectedPresenceSender : public PresenceSender {
public:
enum SendPresence {AndSendPresence, DontSendPresence};
DirectedPresenceSender(PresenceSender*);
diff --git a/Swiften/Presence/PayloadAddingPresenceSender.h b/Swiften/Presence/PayloadAddingPresenceSender.h
index 333842a..4845865 100644
--- a/Swiften/Presence/PayloadAddingPresenceSender.h
+++ b/Swiften/Presence/PayloadAddingPresenceSender.h
@@ -6,6 +6,7 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Presence/PresenceSender.h>
#include <Swiften/Elements/Payload.h>
@@ -17,7 +18,7 @@ namespace Swift {
*
* This class isn't meant to be used with directed presence.
*/
- class PayloadAddingPresenceSender : public PresenceSender {
+ class SWIFTEN_API PayloadAddingPresenceSender : public PresenceSender {
public:
PayloadAddingPresenceSender(PresenceSender*);
diff --git a/Swiften/Presence/StanzaChannelPresenceSender.h b/Swiften/Presence/StanzaChannelPresenceSender.h
index d60d29d..8649acb 100644
--- a/Swiften/Presence/StanzaChannelPresenceSender.h
+++ b/Swiften/Presence/StanzaChannelPresenceSender.h
@@ -6,12 +6,13 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Presence/PresenceSender.h>
namespace Swift {
class StanzaChannel;
- class StanzaChannelPresenceSender : public PresenceSender {
+ class SWIFTEN_API StanzaChannelPresenceSender : public PresenceSender {
public:
StanzaChannelPresenceSender(StanzaChannel*);