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/Entity
parent075c1f08245055e0060df2695e75bba54e697d36 (diff)
downloadswift-003381f417caaae9918cd81fa53bcc0547caa4c9.zip
swift-003381f417caaae9918cd81fa53bcc0547caa4c9.tar.bz2
Initial DLL support for Swiften.
All applications succesfully link against Swiften.dll.
Diffstat (limited to 'Swiften/Entity')
-rw-r--r--Swiften/Entity/Entity.h4
-rw-r--r--Swiften/Entity/PayloadPersister.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/Swiften/Entity/Entity.h b/Swiften/Entity/Entity.h
index 65480d0..0dc2929 100644
--- a/Swiften/Entity/Entity.h
+++ b/Swiften/Entity/Entity.h
@@ -6,6 +6,8 @@
#pragma once
+#include <Swiften/Base/API.h>
+
namespace Swift {
class PayloadParserFactory;
class PayloadSerializer;
@@ -17,7 +19,7 @@ namespace Swift {
/**
* The base class for XMPP entities (Clients, Components).
*/
- class Entity {
+ class SWIFTEN_API Entity {
public:
Entity();
virtual ~Entity();
diff --git a/Swiften/Entity/PayloadPersister.h b/Swiften/Entity/PayloadPersister.h
index ea7c74c..bc406ab 100644
--- a/Swiften/Entity/PayloadPersister.h
+++ b/Swiften/Entity/PayloadPersister.h
@@ -9,12 +9,14 @@
#include <boost/shared_ptr.hpp>
#include <boost/filesystem/path.hpp>
+#include <Swiften/Base/API.h>
+
namespace Swift {
class Payload;
class PayloadSerializer;
class PayloadParser;
- class PayloadPersister {
+ class SWIFTEN_API PayloadPersister {
public:
PayloadPersister();
virtual ~PayloadPersister();