diff options
Diffstat (limited to 'Swiften/Elements')
-rw-r--r-- | Swiften/Elements/RosterItemExchangePayload.h | 6 | ||||
-rw-r--r-- | Swiften/Elements/RosterPayload.h | 3 | ||||
-rw-r--r-- | Swiften/Elements/StatusShow.h | 3 | ||||
-rw-r--r-- | Swiften/Elements/StreamFeatures.h | 3 | ||||
-rw-r--r-- | Swiften/Elements/StreamManagementEnabled.h | 3 | ||||
-rw-r--r-- | Swiften/Elements/Whiteboard/WhiteboardColor.h | 4 |
6 files changed, 14 insertions, 8 deletions
diff --git a/Swiften/Elements/RosterItemExchangePayload.h b/Swiften/Elements/RosterItemExchangePayload.h index f9aa2c8..622c775 100644 --- a/Swiften/Elements/RosterItemExchangePayload.h +++ b/Swiften/Elements/RosterItemExchangePayload.h @@ -10,16 +10,16 @@ #include <string> #include <boost/shared_ptr.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Elements/Payload.h> #include <Swiften/JID/JID.h> - namespace Swift { - class RosterItemExchangePayload : public Payload { + class SWIFTEN_API RosterItemExchangePayload : public Payload { public: typedef boost::shared_ptr<RosterItemExchangePayload> ref; - class Item { + class SWIFTEN_API Item { public: enum Action { Add, Modify, Delete }; diff --git a/Swiften/Elements/RosterPayload.h b/Swiften/Elements/RosterPayload.h index c4907cb..47d27f2 100644 --- a/Swiften/Elements/RosterPayload.h +++ b/Swiften/Elements/RosterPayload.h @@ -10,12 +10,13 @@ #include <boost/optional.hpp> #include <boost/shared_ptr.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Elements/RosterItemPayload.h> #include <Swiften/Elements/Payload.h> namespace Swift { - class RosterPayload : public Payload { + class SWIFTEN_API RosterPayload : public Payload { public: typedef boost::shared_ptr<RosterPayload> ref; typedef std::vector<RosterItemPayload> RosterItemPayloads; diff --git a/Swiften/Elements/StatusShow.h b/Swiften/Elements/StatusShow.h index cd3477e..3eeb44e 100644 --- a/Swiften/Elements/StatusShow.h +++ b/Swiften/Elements/StatusShow.h @@ -6,10 +6,11 @@ #pragma once +#include <Swiften/Base/API.h> #include <Swiften/Elements/Payload.h> namespace Swift { - class StatusShow : public Payload { + class SWIFTEN_API StatusShow : public Payload { public: enum Type { Online, Away, FFC, XA, DND, None }; diff --git a/Swiften/Elements/StreamFeatures.h b/Swiften/Elements/StreamFeatures.h index cae5532..5e7b6c9 100644 --- a/Swiften/Elements/StreamFeatures.h +++ b/Swiften/Elements/StreamFeatures.h @@ -10,10 +10,11 @@ #include <string> #include <boost/shared_ptr.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Elements/Element.h> namespace Swift { - class StreamFeatures : public Element { + class SWIFTEN_API StreamFeatures : public Element { public: typedef boost::shared_ptr<StreamFeatures> ref; diff --git a/Swiften/Elements/StreamManagementEnabled.h b/Swiften/Elements/StreamManagementEnabled.h index 02e77f3..0985574 100644 --- a/Swiften/Elements/StreamManagementEnabled.h +++ b/Swiften/Elements/StreamManagementEnabled.h @@ -8,10 +8,11 @@ #include <string> +#include <Swiften/Base/API.h> #include <Swiften/Elements/Element.h> namespace Swift { - class StreamManagementEnabled : public Element { + class SWIFTEN_API StreamManagementEnabled : public Element { public: StreamManagementEnabled(); ~StreamManagementEnabled(); diff --git a/Swiften/Elements/Whiteboard/WhiteboardColor.h b/Swiften/Elements/Whiteboard/WhiteboardColor.h index a940338..3b3d93c 100644 --- a/Swiften/Elements/Whiteboard/WhiteboardColor.h +++ b/Swiften/Elements/Whiteboard/WhiteboardColor.h @@ -8,8 +8,10 @@ #include <string> +#include <Swiften/Base/API.h> + namespace Swift { - class WhiteboardColor { + class SWIFTEN_API WhiteboardColor { public: WhiteboardColor(); WhiteboardColor(int red, int green, int blue, int alpha = 255); |