summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Serializer')
-rw-r--r--Swiften/Serializer/PayloadSerializer.h4
-rw-r--r--Swiften/Serializer/PayloadSerializerCollection.h3
-rw-r--r--Swiften/Serializer/PayloadSerializers/DiscoInfoSerializer.h3
-rw-r--r--Swiften/Serializer/PayloadSerializers/ErrorSerializer.h3
-rw-r--r--Swiften/Serializer/PayloadSerializers/FullPayloadSerializerCollection.h3
-rw-r--r--Swiften/Serializer/PayloadSerializers/RosterSerializer.h3
-rw-r--r--Swiften/Serializer/PayloadSerializers/VCardSerializer.h4
-rw-r--r--Swiften/Serializer/XML/XMLElement.h3
-rw-r--r--Swiften/Serializer/XML/XMLNode.h4
9 files changed, 21 insertions, 9 deletions
diff --git a/Swiften/Serializer/PayloadSerializer.h b/Swiften/Serializer/PayloadSerializer.h
index c4ad23b..46132fc 100644
--- a/Swiften/Serializer/PayloadSerializer.h
+++ b/Swiften/Serializer/PayloadSerializer.h
@@ -9,10 +9,12 @@
#include <string>
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
+
namespace Swift {
class Payload;
- class PayloadSerializer {
+ class SWIFTEN_API PayloadSerializer {
public:
virtual ~PayloadSerializer();
diff --git a/Swiften/Serializer/PayloadSerializerCollection.h b/Swiften/Serializer/PayloadSerializerCollection.h
index f922a45..78f8808 100644
--- a/Swiften/Serializer/PayloadSerializerCollection.h
+++ b/Swiften/Serializer/PayloadSerializerCollection.h
@@ -9,13 +9,14 @@
#include <vector>
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
class PayloadSerializer;
- class PayloadSerializerCollection {
+ class SWIFTEN_API PayloadSerializerCollection {
public:
PayloadSerializerCollection();
diff --git a/Swiften/Serializer/PayloadSerializers/DiscoInfoSerializer.h b/Swiften/Serializer/PayloadSerializers/DiscoInfoSerializer.h
index 3e028e1..233d752 100644
--- a/Swiften/Serializer/PayloadSerializers/DiscoInfoSerializer.h
+++ b/Swiften/Serializer/PayloadSerializers/DiscoInfoSerializer.h
@@ -6,11 +6,12 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Serializer/GenericPayloadSerializer.h>
#include <Swiften/Elements/DiscoInfo.h>
namespace Swift {
- class DiscoInfoSerializer : public GenericPayloadSerializer<DiscoInfo> {
+ class SWIFTEN_API DiscoInfoSerializer : public GenericPayloadSerializer<DiscoInfo> {
public:
DiscoInfoSerializer();
diff --git a/Swiften/Serializer/PayloadSerializers/ErrorSerializer.h b/Swiften/Serializer/PayloadSerializers/ErrorSerializer.h
index 41e35a9..f41d585 100644
--- a/Swiften/Serializer/PayloadSerializers/ErrorSerializer.h
+++ b/Swiften/Serializer/PayloadSerializers/ErrorSerializer.h
@@ -6,13 +6,14 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Serializer/GenericPayloadSerializer.h>
#include <Swiften/Elements/ErrorPayload.h>
namespace Swift {
class PayloadSerializerCollection;
- class ErrorSerializer : public GenericPayloadSerializer<ErrorPayload> {
+ class SWIFTEN_API ErrorSerializer : public GenericPayloadSerializer<ErrorPayload> {
public:
ErrorSerializer(PayloadSerializerCollection* serializers);
diff --git a/Swiften/Serializer/PayloadSerializers/FullPayloadSerializerCollection.h b/Swiften/Serializer/PayloadSerializers/FullPayloadSerializerCollection.h
index bfe7d76..eaae742 100644
--- a/Swiften/Serializer/PayloadSerializers/FullPayloadSerializerCollection.h
+++ b/Swiften/Serializer/PayloadSerializers/FullPayloadSerializerCollection.h
@@ -8,10 +8,11 @@
#include <vector>
+#include <Swiften/Base/API.h>
#include <Swiften/Serializer/PayloadSerializerCollection.h>
namespace Swift {
- class FullPayloadSerializerCollection : public PayloadSerializerCollection {
+ class SWIFTEN_API FullPayloadSerializerCollection : public PayloadSerializerCollection {
public:
FullPayloadSerializerCollection();
~FullPayloadSerializerCollection();
diff --git a/Swiften/Serializer/PayloadSerializers/RosterSerializer.h b/Swiften/Serializer/PayloadSerializers/RosterSerializer.h
index 52fdb2a..9e7ea1b 100644
--- a/Swiften/Serializer/PayloadSerializers/RosterSerializer.h
+++ b/Swiften/Serializer/PayloadSerializers/RosterSerializer.h
@@ -6,11 +6,12 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Serializer/GenericPayloadSerializer.h>
#include <Swiften/Elements/RosterPayload.h>
namespace Swift {
- class RosterSerializer : public GenericPayloadSerializer<RosterPayload> {
+ class SWIFTEN_API RosterSerializer : public GenericPayloadSerializer<RosterPayload> {
public:
RosterSerializer();
diff --git a/Swiften/Serializer/PayloadSerializers/VCardSerializer.h b/Swiften/Serializer/PayloadSerializers/VCardSerializer.h
index c73ff18..04c1843 100644
--- a/Swiften/Serializer/PayloadSerializers/VCardSerializer.h
+++ b/Swiften/Serializer/PayloadSerializers/VCardSerializer.h
@@ -9,8 +9,10 @@
#include <Swiften/Serializer/GenericPayloadSerializer.h>
#include <Swiften/Elements/VCard.h>
+#include <Swiften/Base/API.h>
+
namespace Swift {
- class VCardSerializer : public GenericPayloadSerializer<VCard> {
+ class SWIFTEN_API VCardSerializer : public GenericPayloadSerializer<VCard> {
public:
VCardSerializer();
diff --git a/Swiften/Serializer/XML/XMLElement.h b/Swiften/Serializer/XML/XMLElement.h
index 6eacb82..305932a 100644
--- a/Swiften/Serializer/XML/XMLElement.h
+++ b/Swiften/Serializer/XML/XMLElement.h
@@ -12,10 +12,11 @@
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Serializer/XML/XMLNode.h>
namespace Swift {
- class XMLElement : public XMLNode {
+ class SWIFTEN_API XMLElement : public XMLNode {
public:
typedef boost::shared_ptr<XMLElement> ref;
diff --git a/Swiften/Serializer/XML/XMLNode.h b/Swiften/Serializer/XML/XMLNode.h
index d222faf..9d9e1a0 100644
--- a/Swiften/Serializer/XML/XMLNode.h
+++ b/Swiften/Serializer/XML/XMLNode.h
@@ -8,8 +8,10 @@
#include <string>
+#include <Swiften/Base/API.h>
+
namespace Swift {
- class XMLNode {
+ class SWIFTEN_API XMLNode {
public:
virtual ~XMLNode();