summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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();