summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements')
-rw-r--r--Swiften/Elements/AuthChallenge.h5
-rw-r--r--Swiften/Elements/AuthFailure.h5
-rw-r--r--Swiften/Elements/AuthRequest.h5
-rw-r--r--Swiften/Elements/AuthResponse.h5
-rw-r--r--Swiften/Elements/AuthSuccess.h5
-rw-r--r--Swiften/Elements/BlockListPayload.h5
-rw-r--r--Swiften/Elements/BlockPayload.h5
-rw-r--r--Swiften/Elements/Body.h5
-rw-r--r--Swiften/Elements/Bytestreams.h5
-rw-r--r--Swiften/Elements/CapsInfo.h5
-rw-r--r--Swiften/Elements/ChatState.h5
-rw-r--r--Swiften/Elements/Command.h5
-rw-r--r--Swiften/Elements/ComponentHandshake.h5
-rw-r--r--Swiften/Elements/CompressFailure.h6
-rw-r--r--Swiften/Elements/CompressRequest.h5
-rw-r--r--Swiften/Elements/Compressed.h5
-rw-r--r--Swiften/Elements/Delay.h5
-rw-r--r--Swiften/Elements/DeliveryReceipt.h11
-rw-r--r--Swiften/Elements/DeliveryReceiptRequest.h9
-rw-r--r--Swiften/Elements/DiscoItems.h5
-rw-r--r--Swiften/Elements/EnableStreamManagement.h6
-rw-r--r--Swiften/Elements/ErrorPayload.h5
-rw-r--r--Swiften/Elements/FormField.h5
-rw-r--r--Swiften/Elements/HashElement.h5
-rw-r--r--Swiften/Elements/IBB.h5
-rw-r--r--Swiften/Elements/Idle.h9
-rw-r--r--Swiften/Elements/InBandRegistrationPayload.h5
-rw-r--r--Swiften/Elements/JingleContentPayload.h5
-rw-r--r--Swiften/Elements/JingleDescription.h5
-rw-r--r--Swiften/Elements/JingleFileTransferDescription.h5
-rw-r--r--Swiften/Elements/JingleFileTransferFileInfo.h5
-rw-r--r--Swiften/Elements/JingleFileTransferHash.h5
-rw-r--r--Swiften/Elements/JingleIBBTransportPayload.h5
-rw-r--r--Swiften/Elements/JinglePayload.h4
-rw-r--r--Swiften/Elements/JingleS5BTransportPayload.h3
-rw-r--r--Swiften/Elements/JingleTransportPayload.h5
-rw-r--r--Swiften/Elements/Last.h5
-rw-r--r--Swiften/Elements/MUCAdminPayload.h5
-rw-r--r--Swiften/Elements/MUCDestroyPayload.h5
-rw-r--r--Swiften/Elements/MUCInvitationPayload.h5
-rw-r--r--Swiften/Elements/MUCOwnerPayload.h5
-rw-r--r--Swiften/Elements/MUCPayload.h5
-rw-r--r--Swiften/Elements/MUCUserPayload.h5
-rw-r--r--Swiften/Elements/Message.h5
-rw-r--r--Swiften/Elements/Nickname.h5
-rw-r--r--Swiften/Elements/Priority.h5
-rw-r--r--Swiften/Elements/PrivateStorage.h5
-rw-r--r--Swiften/Elements/ProtocolHeader.h6
-rw-r--r--Swiften/Elements/RawXMLPayload.h5
-rw-r--r--Swiften/Elements/Replace.h9
-rw-r--r--Swiften/Elements/ResourceBind.h6
-rw-r--r--Swiften/Elements/RosterItemPayload.h5
-rw-r--r--Swiften/Elements/S5BProxyRequest.h3
-rw-r--r--Swiften/Elements/SearchPayload.h5
-rw-r--r--Swiften/Elements/StanzaAck.h5
-rw-r--r--Swiften/Elements/StanzaAckRequest.h6
-rw-r--r--Swiften/Elements/StartSession.h5
-rw-r--r--Swiften/Elements/StartTLSFailure.h5
-rw-r--r--Swiften/Elements/StartTLSRequest.h5
-rw-r--r--Swiften/Elements/Status.h5
-rw-r--r--Swiften/Elements/Storage.h5
-rw-r--r--Swiften/Elements/StreamError.h5
-rw-r--r--Swiften/Elements/StreamInitiation.h5
-rw-r--r--Swiften/Elements/StreamInitiationFileInfo.h5
-rw-r--r--Swiften/Elements/StreamManagementFailed.h6
-rw-r--r--Swiften/Elements/StreamResume.h5
-rw-r--r--Swiften/Elements/StreamResumed.h5
-rw-r--r--Swiften/Elements/Subject.h5
-rw-r--r--Swiften/Elements/TLSProceed.h5
-rw-r--r--Swiften/Elements/UnblockPayload.h5
-rw-r--r--Swiften/Elements/UnknownElement.h5
-rw-r--r--Swiften/Elements/VCard.h5
-rw-r--r--Swiften/Elements/VCardUpdate.h6
-rw-r--r--Swiften/Elements/Version.h6
-rw-r--r--Swiften/Elements/Whiteboard/WhiteboardDeleteOperation.h10
-rw-r--r--Swiften/Elements/Whiteboard/WhiteboardEllipseElement.h9
-rw-r--r--Swiften/Elements/Whiteboard/WhiteboardFreehandPathElement.h9
-rw-r--r--Swiften/Elements/Whiteboard/WhiteboardInsertOperation.h10
-rw-r--r--Swiften/Elements/Whiteboard/WhiteboardLineElement.h5
-rw-r--r--Swiften/Elements/Whiteboard/WhiteboardPolygonElement.h9
-rw-r--r--Swiften/Elements/Whiteboard/WhiteboardRectElement.h5
-rw-r--r--Swiften/Elements/Whiteboard/WhiteboardTextElement.h9
-rw-r--r--Swiften/Elements/Whiteboard/WhiteboardUpdateOperation.h10
-rw-r--r--Swiften/Elements/WhiteboardPayload.h9
84 files changed, 313 insertions, 163 deletions
diff --git a/Swiften/Elements/AuthChallenge.h b/Swiften/Elements/AuthChallenge.h
index d03a5ef..8cfba19 100644
--- a/Swiften/Elements/AuthChallenge.h
+++ b/Swiften/Elements/AuthChallenge.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,10 +9,11 @@
#include <boost/optional.hpp>
#include <vector>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
namespace Swift {
- class AuthChallenge : public ToplevelElement {
+ class SWIFTEN_API AuthChallenge : public ToplevelElement {
public:
AuthChallenge() {
}
diff --git a/Swiften/Elements/AuthFailure.h b/Swiften/Elements/AuthFailure.h
index 1101bfe..e722d04 100644
--- a/Swiften/Elements/AuthFailure.h
+++ b/Swiften/Elements/AuthFailure.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,10 +8,11 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
namespace Swift {
- class AuthFailure : public ToplevelElement {
+ class SWIFTEN_API AuthFailure : public ToplevelElement {
public:
typedef boost::shared_ptr<AuthFailure> ref;
diff --git a/Swiften/Elements/AuthRequest.h b/Swiften/Elements/AuthRequest.h
index 3c6eee8..939a95a 100644
--- a/Swiften/Elements/AuthRequest.h
+++ b/Swiften/Elements/AuthRequest.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -10,11 +10,12 @@
#include <string>
#include <boost/optional.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
#include <Swiften/Base/SafeByteArray.h>
namespace Swift {
- class AuthRequest : public ToplevelElement {
+ class SWIFTEN_API AuthRequest : public ToplevelElement {
public:
AuthRequest(const std::string& mechanism = "") : mechanism_(mechanism) {
}
diff --git a/Swiften/Elements/AuthResponse.h b/Swiften/Elements/AuthResponse.h
index 3c8dac8..b1f4419 100644
--- a/Swiften/Elements/AuthResponse.h
+++ b/Swiften/Elements/AuthResponse.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,11 +9,12 @@
#include <vector>
#include <boost/optional.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
#include <Swiften/Base/SafeByteArray.h>
namespace Swift {
- class AuthResponse : public ToplevelElement {
+ class SWIFTEN_API AuthResponse : public ToplevelElement {
public:
AuthResponse() {
}
diff --git a/Swiften/Elements/AuthSuccess.h b/Swiften/Elements/AuthSuccess.h
index 1cc0220..22c259d 100644
--- a/Swiften/Elements/AuthSuccess.h
+++ b/Swiften/Elements/AuthSuccess.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,10 +9,11 @@
#include <vector>
#include <boost/optional.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
namespace Swift {
- class AuthSuccess : public ToplevelElement {
+ class SWIFTEN_API AuthSuccess : public ToplevelElement {
public:
AuthSuccess() {}
diff --git a/Swiften/Elements/BlockListPayload.h b/Swiften/Elements/BlockListPayload.h
index 7ffc8bf..93e738d 100644
--- a/Swiften/Elements/BlockListPayload.h
+++ b/Swiften/Elements/BlockListPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,11 +8,12 @@
#include <vector>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class BlockListPayload : public Payload {
+ class SWIFTEN_API BlockListPayload : public Payload {
public:
BlockListPayload(const std::vector<JID>& items = std::vector<JID>()) : items(items) {
}
diff --git a/Swiften/Elements/BlockPayload.h b/Swiften/Elements/BlockPayload.h
index 54ebb47..495c79b 100644
--- a/Swiften/Elements/BlockPayload.h
+++ b/Swiften/Elements/BlockPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,11 +8,12 @@
#include <vector>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class BlockPayload : public Payload {
+ class SWIFTEN_API BlockPayload : public Payload {
public:
BlockPayload(const std::vector<JID>& jids = std::vector<JID>()) : items(jids) {
}
diff --git a/Swiften/Elements/Body.h b/Swiften/Elements/Body.h
index 4ef8bf0..fc7016f 100644
--- a/Swiften/Elements/Body.h
+++ b/Swiften/Elements/Body.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,10 +8,11 @@
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class Body : public Payload {
+ class SWIFTEN_API Body : public Payload {
public:
Body(const std::string& text = "") : text_(text) {
}
diff --git a/Swiften/Elements/Bytestreams.h b/Swiften/Elements/Bytestreams.h
index dd6bb5c..bc114a2 100644
--- a/Swiften/Elements/Bytestreams.h
+++ b/Swiften/Elements/Bytestreams.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -11,11 +11,12 @@
#include <boost/shared_ptr.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class Bytestreams : public Payload {
+ class SWIFTEN_API Bytestreams : public Payload {
public:
typedef boost::shared_ptr<Bytestreams> ref;
diff --git a/Swiften/Elements/CapsInfo.h b/Swiften/Elements/CapsInfo.h
index 989d796..bdfe342 100644
--- a/Swiften/Elements/CapsInfo.h
+++ b/Swiften/Elements/CapsInfo.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,10 +9,11 @@
#include <boost/shared_ptr.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class CapsInfo : public Payload {
+ class SWIFTEN_API CapsInfo : public Payload {
public:
typedef boost::shared_ptr<CapsInfo> ref;
diff --git a/Swiften/Elements/ChatState.h b/Swiften/Elements/ChatState.h
index 1755eea..a7a8b1d 100644
--- a/Swiften/Elements/ChatState.h
+++ b/Swiften/Elements/ChatState.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,10 +8,11 @@
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class ChatState : public Payload {
+ class SWIFTEN_API ChatState : public Payload {
public:
enum ChatStateType {Active, Composing, Paused, Inactive, Gone};
ChatState(ChatStateType state = Active) {
diff --git a/Swiften/Elements/Command.h b/Swiften/Elements/Command.h
index dbf9039..060037d 100644
--- a/Swiften/Elements/Command.h
+++ b/Swiften/Elements/Command.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,6 +9,7 @@
#include <boost/shared_ptr.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/Elements/Form.h>
@@ -16,7 +17,7 @@ namespace Swift {
/**
* Ad-Hoc Command (XEP-0050).
*/
- class Command : public Payload {
+ class SWIFTEN_API Command : public Payload {
public:
typedef boost::shared_ptr<Command> ref;
diff --git a/Swiften/Elements/ComponentHandshake.h b/Swiften/Elements/ComponentHandshake.h
index 67d9727..f19c488 100644
--- a/Swiften/Elements/ComponentHandshake.h
+++ b/Swiften/Elements/ComponentHandshake.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,10 +9,11 @@
#include <boost/shared_ptr.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
namespace Swift {
- class ComponentHandshake : public ToplevelElement {
+ class SWIFTEN_API ComponentHandshake : public ToplevelElement {
public:
typedef boost::shared_ptr<ComponentHandshake> ref;
diff --git a/Swiften/Elements/CompressFailure.h b/Swiften/Elements/CompressFailure.h
index eff776e..a32ba27 100644
--- a/Swiften/Elements/CompressFailure.h
+++ b/Swiften/Elements/CompressFailure.h
@@ -1,16 +1,16 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
-
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
namespace Swift {
- class CompressFailure : public ToplevelElement {
+ class SWIFTEN_API CompressFailure : public ToplevelElement {
public:
CompressFailure() {}
};
diff --git a/Swiften/Elements/CompressRequest.h b/Swiften/Elements/CompressRequest.h
index dda6684..4e2a3a4 100644
--- a/Swiften/Elements/CompressRequest.h
+++ b/Swiften/Elements/CompressRequest.h
@@ -1,15 +1,16 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
namespace Swift {
- class CompressRequest : public ToplevelElement
+ class SWIFTEN_API CompressRequest : public ToplevelElement
{
public:
CompressRequest(const std::string& method = "") : method_(method) {}
diff --git a/Swiften/Elements/Compressed.h b/Swiften/Elements/Compressed.h
index 430143c..bcfcacc 100644
--- a/Swiften/Elements/Compressed.h
+++ b/Swiften/Elements/Compressed.h
@@ -1,15 +1,16 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
namespace Swift {
- class Compressed : public ToplevelElement {
+ class SWIFTEN_API Compressed : public ToplevelElement {
public:
Compressed() {}
};
diff --git a/Swiften/Elements/Delay.h b/Swiften/Elements/Delay.h
index c87e3ec..2cfb1d0 100644
--- a/Swiften/Elements/Delay.h
+++ b/Swiften/Elements/Delay.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,11 +9,12 @@
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <boost/optional.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/JID/JID.h>
namespace Swift {
- class Delay : public Payload {
+ class SWIFTEN_API Delay : public Payload {
public:
Delay() {}
Delay(const boost::posix_time::ptime& time, const JID& from = JID()) : time_(time), from_(from) {}
diff --git a/Swiften/Elements/DeliveryReceipt.h b/Swiften/Elements/DeliveryReceipt.h
index bd634db..eac5280 100644
--- a/Swiften/Elements/DeliveryReceipt.h
+++ b/Swiften/Elements/DeliveryReceipt.h
@@ -4,17 +4,22 @@
* See http://www.opensource.org/licenses/bsd-license.php for more information.
*/
-#pragma once
+/*
+ * Copyright (c) 2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
-#include <string>
+#pragma once
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
-class DeliveryReceipt : public Payload {
+class SWIFTEN_API DeliveryReceipt : public Payload {
public:
typedef boost::shared_ptr<DeliveryReceipt> ref;
diff --git a/Swiften/Elements/DeliveryReceiptRequest.h b/Swiften/Elements/DeliveryReceiptRequest.h
index 3998785..1f03c5a 100644
--- a/Swiften/Elements/DeliveryReceiptRequest.h
+++ b/Swiften/Elements/DeliveryReceiptRequest.h
@@ -4,13 +4,20 @@
* See http://www.opensource.org/licenses/bsd-license.php for more information.
*/
+/*
+ * Copyright (c) 2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
-class DeliveryReceiptRequest : public Payload {
+class SWIFTEN_API DeliveryReceiptRequest : public Payload {
public:
typedef boost::shared_ptr<DeliveryReceiptRequest> ref;
diff --git a/Swiften/Elements/DiscoItems.h b/Swiften/Elements/DiscoItems.h
index 0c974ca..1084f2b 100644
--- a/Swiften/Elements/DiscoItems.h
+++ b/Swiften/Elements/DiscoItems.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,6 +9,7 @@
#include <vector>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/JID/JID.h>
@@ -16,7 +17,7 @@ namespace Swift {
/**
* Service discovery disco#items from XEP-0030.
*/
- class DiscoItems : public Payload {
+ class SWIFTEN_API DiscoItems : public Payload {
public:
/**
* A single result item.
diff --git a/Swiften/Elements/EnableStreamManagement.h b/Swiften/Elements/EnableStreamManagement.h
index c606eb3..ef09f79 100644
--- a/Swiften/Elements/EnableStreamManagement.h
+++ b/Swiften/Elements/EnableStreamManagement.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -7,10 +7,10 @@
#pragma once
#include <Swiften/Elements/ToplevelElement.h>
-
+#include <Swiften/Base/API.h>
namespace Swift {
- class EnableStreamManagement : public ToplevelElement {
+ class SWIFTEN_API EnableStreamManagement : public ToplevelElement {
public:
EnableStreamManagement() {}
};
diff --git a/Swiften/Elements/ErrorPayload.h b/Swiften/Elements/ErrorPayload.h
index 5860c68..27f4249 100644
--- a/Swiften/Elements/ErrorPayload.h
+++ b/Swiften/Elements/ErrorPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,10 +9,11 @@
#include <boost/shared_ptr.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class ErrorPayload : public Payload {
+ class SWIFTEN_API ErrorPayload : public Payload {
public:
typedef boost::shared_ptr<ErrorPayload> ref;
diff --git a/Swiften/Elements/FormField.h b/Swiften/Elements/FormField.h
index 8317e25..a8649fb 100644
--- a/Swiften/Elements/FormField.h
+++ b/Swiften/Elements/FormField.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2013 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -10,10 +10,11 @@
#include <boost/shared_ptr.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
namespace Swift {
- class FormField {
+ class SWIFTEN_API FormField {
public:
typedef boost::shared_ptr<FormField> ref;
diff --git a/Swiften/Elements/HashElement.h b/Swiften/Elements/HashElement.h
index 9bab7ef..cc5a0e4 100644
--- a/Swiften/Elements/HashElement.h
+++ b/Swiften/Elements/HashElement.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014 Isode Limited.
+ * Copyright (c) 2014-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,13 +8,14 @@
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/ByteArray.h>
namespace Swift {
/*
* @brief This class represents a XEP-0300 <hash/> element.
*/
- class HashElement {
+ class SWIFTEN_API HashElement {
public:
HashElement(const std::string& algorithm, const ByteArray& hash) : algorithm_(algorithm), hash_(hash) {
}
diff --git a/Swiften/Elements/IBB.h b/Swiften/Elements/IBB.h
index e8c0d22..58194b9 100644
--- a/Swiften/Elements/IBB.h
+++ b/Swiften/Elements/IBB.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -11,10 +11,11 @@
#include <boost/shared_ptr.hpp>
#include <boost/smart_ptr/make_shared.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class IBB : public Payload {
+ class SWIFTEN_API IBB : public Payload {
public:
typedef boost::shared_ptr<IBB> ref;
diff --git a/Swiften/Elements/Idle.h b/Swiften/Elements/Idle.h
index 572eba2..d30120c 100644
--- a/Swiften/Elements/Idle.h
+++ b/Swiften/Elements/Idle.h
@@ -4,16 +4,23 @@
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
+/*
+ * Copyright (c) 2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
#pragma once
#include <boost/shared_ptr.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class Idle : public Payload {
+ class SWIFTEN_API Idle : public Payload {
public:
typedef boost::shared_ptr<Idle> ref;
diff --git a/Swiften/Elements/InBandRegistrationPayload.h b/Swiften/Elements/InBandRegistrationPayload.h
index 04742ba..4089bf7 100644
--- a/Swiften/Elements/InBandRegistrationPayload.h
+++ b/Swiften/Elements/InBandRegistrationPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -10,11 +10,12 @@
#include <boost/optional.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/Elements/Form.h>
namespace Swift {
- class InBandRegistrationPayload : public Payload {
+ class SWIFTEN_API InBandRegistrationPayload : public Payload {
public:
typedef boost::shared_ptr<InBandRegistrationPayload> ref;
diff --git a/Swiften/Elements/JingleContentPayload.h b/Swiften/Elements/JingleContentPayload.h
index 94efdb9..f908053 100644
--- a/Swiften/Elements/JingleContentPayload.h
+++ b/Swiften/Elements/JingleContentPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -10,13 +10,14 @@
#include <boost/optional.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/Elements/JingleDescription.h>
#include <Swiften/Elements/JingleTransportPayload.h>
namespace Swift {
- class JingleContentPayload : public Payload {
+ class SWIFTEN_API JingleContentPayload : public Payload {
public:
typedef boost::shared_ptr<JingleContentPayload> ref;
diff --git a/Swiften/Elements/JingleDescription.h b/Swiften/Elements/JingleDescription.h
index c3adc9e..7577383 100644
--- a/Swiften/Elements/JingleDescription.h
+++ b/Swiften/Elements/JingleDescription.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,10 +8,11 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class JingleDescription : public Payload {
+ class SWIFTEN_API JingleDescription : public Payload {
public:
typedef boost::shared_ptr<JingleDescription> ref;
};
diff --git a/Swiften/Elements/JingleFileTransferDescription.h b/Swiften/Elements/JingleFileTransferDescription.h
index 9308abf..39f10b9 100644
--- a/Swiften/Elements/JingleFileTransferDescription.h
+++ b/Swiften/Elements/JingleFileTransferDescription.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011-2014 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,11 +9,12 @@
#include <boost/shared_ptr.hpp>
#include <vector>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/JingleDescription.h>
#include <Swiften/Elements/JingleFileTransferFileInfo.h>
namespace Swift {
- class JingleFileTransferDescription : public JingleDescription {
+ class SWIFTEN_API JingleFileTransferDescription : public JingleDescription {
public:
typedef boost::shared_ptr<JingleFileTransferDescription> ref;
diff --git a/Swiften/Elements/JingleFileTransferFileInfo.h b/Swiften/Elements/JingleFileTransferFileInfo.h
index 8fec59e..92929a0 100644
--- a/Swiften/Elements/JingleFileTransferFileInfo.h
+++ b/Swiften/Elements/JingleFileTransferFileInfo.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014 Isode Limited.
+ * Copyright (c) 2014-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -14,6 +14,7 @@
#include <boost/shared_ptr.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/HashElement.h>
#include <Swiften/Elements/Payload.h>
@@ -22,7 +23,7 @@ namespace Swift {
/**
* @brief This class represents the file info used in XEP-0234.
*/
- class JingleFileTransferFileInfo : public Payload {
+ class SWIFTEN_API JingleFileTransferFileInfo : public Payload {
typedef boost::shared_ptr<JingleFileTransferFileInfo> ref;
public:
diff --git a/Swiften/Elements/JingleFileTransferHash.h b/Swiften/Elements/JingleFileTransferHash.h
index d34e35d..3f3c3f0 100644
--- a/Swiften/Elements/JingleFileTransferHash.h
+++ b/Swiften/Elements/JingleFileTransferHash.h
@@ -5,7 +5,7 @@
*/
/*
- * Copyright (c) 2014 Isode Limited.
+ * Copyright (c) 2014-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -16,12 +16,13 @@
#include <map>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/JingleDescription.h>
#include <Swiften/Elements/JingleFileTransferFileInfo.h>
namespace Swift {
-class JingleFileTransferHash : public Payload {
+class SWIFTEN_API JingleFileTransferHash : public Payload {
public:
typedef boost::shared_ptr<JingleFileTransferHash> ref;
diff --git a/Swiften/Elements/JingleIBBTransportPayload.h b/Swiften/Elements/JingleIBBTransportPayload.h
index efb725d..d87570d 100644
--- a/Swiften/Elements/JingleIBBTransportPayload.h
+++ b/Swiften/Elements/JingleIBBTransportPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011-2014 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -10,10 +10,11 @@
#include <boost/optional.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/JingleTransportPayload.h>
namespace Swift {
- class JingleIBBTransportPayload : public JingleTransportPayload {
+ class SWIFTEN_API JingleIBBTransportPayload : public JingleTransportPayload {
public:
typedef boost::shared_ptr<JingleIBBTransportPayload> ref;
diff --git a/Swiften/Elements/JinglePayload.h b/Swiften/Elements/JinglePayload.h
index 5d22b20..86e3747 100644
--- a/Swiften/Elements/JinglePayload.h
+++ b/Swiften/Elements/JinglePayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011-2014 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -17,7 +17,7 @@
#include <Swiften/Elements/JingleContentPayload.h>
namespace Swift {
- class JinglePayload : public Payload {
+ class SWIFTEN_API JinglePayload : public Payload {
public:
typedef boost::shared_ptr<JinglePayload> ref;
struct Reason : public Payload {
diff --git a/Swiften/Elements/JingleS5BTransportPayload.h b/Swiften/Elements/JingleS5BTransportPayload.h
index f6132a1..313e51a 100644
--- a/Swiften/Elements/JingleS5BTransportPayload.h
+++ b/Swiften/Elements/JingleS5BTransportPayload.h
@@ -10,13 +10,14 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/JingleTransportPayload.h>
#include <Swiften/Elements/Bytestreams.h>
#include <Swiften/Network/HostAddressPort.h>
namespace Swift {
- class JingleS5BTransportPayload : public JingleTransportPayload {
+ class SWIFTEN_API JingleS5BTransportPayload : public JingleTransportPayload {
public:
enum Mode {
TCPMode, // default case
diff --git a/Swiften/Elements/JingleTransportPayload.h b/Swiften/Elements/JingleTransportPayload.h
index 522ff17..70f3d25 100644
--- a/Swiften/Elements/JingleTransportPayload.h
+++ b/Swiften/Elements/JingleTransportPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,10 +8,11 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class JingleTransportPayload : public Payload {
+ class SWIFTEN_API JingleTransportPayload : public Payload {
public:
void setSessionID(const std::string& id) {
sessionID = id;
diff --git a/Swiften/Elements/Last.h b/Swiften/Elements/Last.h
index 1775a8a..68cf7a7 100644
--- a/Swiften/Elements/Last.h
+++ b/Swiften/Elements/Last.h
@@ -1,15 +1,16 @@
/*
- * Copyright (c) 2011 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class Last : public Payload {
+ class SWIFTEN_API Last : public Payload {
public:
Last(int seconds = 0) : seconds_(seconds) {}
diff --git a/Swiften/Elements/MUCAdminPayload.h b/Swiften/Elements/MUCAdminPayload.h
index 259979f..b271f06 100644
--- a/Swiften/Elements/MUCAdminPayload.h
+++ b/Swiften/Elements/MUCAdminPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -11,13 +11,14 @@
#include <string>
#include <vector>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/Elements/MUCOccupant.h>
#include <Swiften/Elements/MUCItem.h>
namespace Swift {
- class MUCAdminPayload : public Payload {
+ class SWIFTEN_API MUCAdminPayload : public Payload {
public:
typedef boost::shared_ptr<MUCAdminPayload> ref;
diff --git a/Swiften/Elements/MUCDestroyPayload.h b/Swiften/Elements/MUCDestroyPayload.h
index 73649b4..b68f97c 100644
--- a/Swiften/Elements/MUCDestroyPayload.h
+++ b/Swiften/Elements/MUCDestroyPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,11 +8,12 @@
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/JID/JID.h>
namespace Swift {
- class MUCDestroyPayload : public Payload {
+ class SWIFTEN_API MUCDestroyPayload : public Payload {
public:
typedef boost::shared_ptr<MUCDestroyPayload> ref;
diff --git a/Swiften/Elements/MUCInvitationPayload.h b/Swiften/Elements/MUCInvitationPayload.h
index dcebe4f..fd92a83 100644
--- a/Swiften/Elements/MUCInvitationPayload.h
+++ b/Swiften/Elements/MUCInvitationPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,11 +8,12 @@
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/JID/JID.h>
namespace Swift {
- class MUCInvitationPayload : public Payload {
+ class SWIFTEN_API MUCInvitationPayload : public Payload {
public:
typedef boost::shared_ptr<MUCInvitationPayload> ref;
MUCInvitationPayload() : continuation_(false), impromptu_(false) {
diff --git a/Swiften/Elements/MUCOwnerPayload.h b/Swiften/Elements/MUCOwnerPayload.h
index 9cad0f0..09166b6 100644
--- a/Swiften/Elements/MUCOwnerPayload.h
+++ b/Swiften/Elements/MUCOwnerPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,11 +8,12 @@
#include <boost/optional.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/Elements/Form.h>
namespace Swift {
- class MUCOwnerPayload : public Payload {
+ class SWIFTEN_API MUCOwnerPayload : public Payload {
public:
typedef boost::shared_ptr<MUCOwnerPayload> ref;
diff --git a/Swiften/Elements/MUCPayload.h b/Swiften/Elements/MUCPayload.h
index 14b57c4..dadfc6a 100644
--- a/Swiften/Elements/MUCPayload.h
+++ b/Swiften/Elements/MUCPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,12 +9,13 @@
#include <boost/optional.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
#include <string>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class MUCPayload : public Payload {
+ class SWIFTEN_API MUCPayload : public Payload {
public:
typedef boost::shared_ptr<MUCPayload> ref;
diff --git a/Swiften/Elements/MUCUserPayload.h b/Swiften/Elements/MUCUserPayload.h
index 7109845..ed31816 100644
--- a/Swiften/Elements/MUCUserPayload.h
+++ b/Swiften/Elements/MUCUserPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -11,13 +11,14 @@
#include <string>
#include <vector>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/Elements/MUCOccupant.h>
#include <Swiften/Elements/MUCItem.h>
namespace Swift {
- class MUCUserPayload : public Payload {
+ class SWIFTEN_API MUCUserPayload : public Payload {
public:
typedef boost::shared_ptr<MUCUserPayload> ref;
diff --git a/Swiften/Elements/Message.h b/Swiften/Elements/Message.h
index b1ce349..f6c16e4 100644
--- a/Swiften/Elements/Message.h
+++ b/Swiften/Elements/Message.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -11,6 +11,7 @@
#include <boost/smart_ptr/make_shared.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Body.h>
#include <Swiften/Elements/Subject.h>
#include <Swiften/Elements/ErrorPayload.h>
@@ -18,7 +19,7 @@
#include <Swiften/Elements/Replace.h>
namespace Swift {
- class Message : public Stanza {
+ class SWIFTEN_API Message : public Stanza {
public:
typedef boost::shared_ptr<Message> ref;
diff --git a/Swiften/Elements/Nickname.h b/Swiften/Elements/Nickname.h
index c6f3a31..2c62720 100644
--- a/Swiften/Elements/Nickname.h
+++ b/Swiften/Elements/Nickname.h
@@ -1,16 +1,17 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <string>
namespace Swift {
- class Nickname : public Payload {
+ class SWIFTEN_API Nickname : public Payload {
public:
Nickname(const std::string& nickname = "") : nickname(nickname) {
}
diff --git a/Swiften/Elements/Priority.h b/Swiften/Elements/Priority.h
index affb67b..6de42b4 100644
--- a/Swiften/Elements/Priority.h
+++ b/Swiften/Elements/Priority.h
@@ -1,15 +1,16 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class Priority : public Payload {
+ class SWIFTEN_API Priority : public Payload {
public:
Priority(int priority = 0) : priority_(priority) {
}
diff --git a/Swiften/Elements/PrivateStorage.h b/Swiften/Elements/PrivateStorage.h
index 02b18c1..15455b8 100644
--- a/Swiften/Elements/PrivateStorage.h
+++ b/Swiften/Elements/PrivateStorage.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,10 +8,11 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class PrivateStorage : public Payload {
+ class SWIFTEN_API PrivateStorage : public Payload {
public:
PrivateStorage(boost::shared_ptr<Payload> payload = boost::shared_ptr<Payload>()) : payload(payload) {
}
diff --git a/Swiften/Elements/ProtocolHeader.h b/Swiften/Elements/ProtocolHeader.h
index 428ad1c..a38f806 100644
--- a/Swiften/Elements/ProtocolHeader.h
+++ b/Swiften/Elements/ProtocolHeader.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,8 +8,10 @@
#include <string>
+#include <Swiften/Base/API.h>
+
namespace Swift {
- class ProtocolHeader {
+ class SWIFTEN_API ProtocolHeader {
public:
ProtocolHeader() : version("1.0") {}
diff --git a/Swiften/Elements/RawXMLPayload.h b/Swiften/Elements/RawXMLPayload.h
index c8e96f8..d1b104d 100644
--- a/Swiften/Elements/RawXMLPayload.h
+++ b/Swiften/Elements/RawXMLPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,10 +8,11 @@
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class RawXMLPayload : public Payload {
+ class SWIFTEN_API RawXMLPayload : public Payload {
public:
RawXMLPayload(const std::string& data = "") : rawXML_(data) {}
diff --git a/Swiften/Elements/Replace.h b/Swiften/Elements/Replace.h
index 96935f5..eadc8fd 100644
--- a/Swiften/Elements/Replace.h
+++ b/Swiften/Elements/Replace.h
@@ -4,15 +4,22 @@
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
+/*
+ * Copyright (c) 2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
#pragma once
#include <boost/shared_ptr.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class Replace : public Payload {
+ class SWIFTEN_API Replace : public Payload {
public:
typedef boost::shared_ptr<Replace> ref;
Replace(const std::string& id = std::string()) : replaceID_(id) {}
diff --git a/Swiften/Elements/ResourceBind.h b/Swiften/Elements/ResourceBind.h
index 15b2c41..01d7e8b 100644
--- a/Swiften/Elements/ResourceBind.h
+++ b/Swiften/Elements/ResourceBind.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -7,11 +7,13 @@
#pragma once
#include <string>
+
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/JID/JID.h>
namespace Swift {
- class ResourceBind : public Payload {
+ class SWIFTEN_API ResourceBind : public Payload {
public:
ResourceBind() {}
diff --git a/Swiften/Elements/RosterItemPayload.h b/Swiften/Elements/RosterItemPayload.h
index f6d95ed..2228529 100644
--- a/Swiften/Elements/RosterItemPayload.h
+++ b/Swiften/Elements/RosterItemPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,10 +9,11 @@
#include <vector>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
namespace Swift {
- class RosterItemPayload {
+ class SWIFTEN_API RosterItemPayload {
public:
enum Subscription { None, To, From, Both, Remove };
diff --git a/Swiften/Elements/S5BProxyRequest.h b/Swiften/Elements/S5BProxyRequest.h
index b7541fc..2732f18 100644
--- a/Swiften/Elements/S5BProxyRequest.h
+++ b/Swiften/Elements/S5BProxyRequest.h
@@ -16,13 +16,14 @@
#include <boost/optional.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Network/HostAddressPort.h>
namespace Swift {
-class S5BProxyRequest : public Payload {
+class SWIFTEN_API S5BProxyRequest : public Payload {
public:
typedef boost::shared_ptr<S5BProxyRequest> ref;
diff --git a/Swiften/Elements/SearchPayload.h b/Swiften/Elements/SearchPayload.h
index d3cb997..1b1df0f 100644
--- a/Swiften/Elements/SearchPayload.h
+++ b/Swiften/Elements/SearchPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,6 +9,7 @@
#include <boost/shared_ptr.hpp>
#include <boost/optional.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/Elements/Form.h>
#include <string>
@@ -17,7 +18,7 @@ namespace Swift {
/**
* XEP-0055 search payload.
*/
- class SearchPayload : public Payload {
+ class SWIFTEN_API SearchPayload : public Payload {
public:
typedef boost::shared_ptr<SearchPayload> ref;
diff --git a/Swiften/Elements/StanzaAck.h b/Swiften/Elements/StanzaAck.h
index cd2fa34..d976802 100644
--- a/Swiften/Elements/StanzaAck.h
+++ b/Swiften/Elements/StanzaAck.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,10 +8,11 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
namespace Swift {
- class StanzaAck : public ToplevelElement {
+ class SWIFTEN_API StanzaAck : public ToplevelElement {
public:
typedef boost::shared_ptr<StanzaAck> ref;
diff --git a/Swiften/Elements/StanzaAckRequest.h b/Swiften/Elements/StanzaAckRequest.h
index ccddbf2..dc3bf32 100644
--- a/Swiften/Elements/StanzaAckRequest.h
+++ b/Swiften/Elements/StanzaAckRequest.h
@@ -1,15 +1,15 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
-
namespace Swift {
- class StanzaAckRequest : public ToplevelElement {
+ class SWIFTEN_API StanzaAckRequest : public ToplevelElement {
};
}
diff --git a/Swiften/Elements/StartSession.h b/Swiften/Elements/StartSession.h
index 16e481b..9191ea9 100644
--- a/Swiften/Elements/StartSession.h
+++ b/Swiften/Elements/StartSession.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -7,10 +7,11 @@
#pragma once
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class StartSession : public Payload {
+ class SWIFTEN_API StartSession : public Payload {
public:
StartSession() {}
};
diff --git a/Swiften/Elements/StartTLSFailure.h b/Swiften/Elements/StartTLSFailure.h
index 1d1dd73..1477962 100644
--- a/Swiften/Elements/StartTLSFailure.h
+++ b/Swiften/Elements/StartTLSFailure.h
@@ -1,15 +1,16 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
namespace Swift {
- class StartTLSFailure : public ToplevelElement {
+ class SWIFTEN_API StartTLSFailure : public ToplevelElement {
public:
StartTLSFailure() {}
};
diff --git a/Swiften/Elements/StartTLSRequest.h b/Swiften/Elements/StartTLSRequest.h
index 7325abb..648eef7 100644
--- a/Swiften/Elements/StartTLSRequest.h
+++ b/Swiften/Elements/StartTLSRequest.h
@@ -1,15 +1,16 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
namespace Swift {
- class StartTLSRequest : public ToplevelElement {
+ class SWIFTEN_API StartTLSRequest : public ToplevelElement {
public:
StartTLSRequest() {}
};
diff --git a/Swiften/Elements/Status.h b/Swiften/Elements/Status.h
index 58df37d..a7620e4 100644
--- a/Swiften/Elements/Status.h
+++ b/Swiften/Elements/Status.h
@@ -1,16 +1,17 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <string>
namespace Swift {
- class Status : public Payload {
+ class SWIFTEN_API Status : public Payload {
public:
Status(const std::string& text = "") : text_(text) {
}
diff --git a/Swiften/Elements/Storage.h b/Swiften/Elements/Storage.h
index 24f11da..8bbbc55 100644
--- a/Swiften/Elements/Storage.h
+++ b/Swiften/Elements/Storage.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -12,11 +12,12 @@
#include <Swiften/Elements/Payload.h>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Base/SafeString.h>
namespace Swift {
- class Storage : public Payload {
+ class SWIFTEN_API Storage : public Payload {
public:
struct Room {
Room() : autoJoin(false) {}
diff --git a/Swiften/Elements/StreamError.h b/Swiften/Elements/StreamError.h
index 24f8b53..5a15f40 100644
--- a/Swiften/Elements/StreamError.h
+++ b/Swiften/Elements/StreamError.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,11 +8,12 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
#include <string>
namespace Swift {
- class StreamError : public ToplevelElement {
+ class SWIFTEN_API StreamError : public ToplevelElement {
public:
typedef boost::shared_ptr<StreamError> ref;
diff --git a/Swiften/Elements/StreamInitiation.h b/Swiften/Elements/StreamInitiation.h
index 672af30..53c8f11 100644
--- a/Swiften/Elements/StreamInitiation.h
+++ b/Swiften/Elements/StreamInitiation.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -11,11 +11,12 @@
#include <boost/shared_ptr.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/Elements/StreamInitiationFileInfo.h>
namespace Swift {
- class StreamInitiation : public Payload {
+ class SWIFTEN_API StreamInitiation : public Payload {
public:
typedef boost::shared_ptr<StreamInitiation> ref;
diff --git a/Swiften/Elements/StreamInitiationFileInfo.h b/Swiften/Elements/StreamInitiationFileInfo.h
index bee0ff0..bd920a0 100644
--- a/Swiften/Elements/StreamInitiationFileInfo.h
+++ b/Swiften/Elements/StreamInitiationFileInfo.h
@@ -1,11 +1,12 @@
/*
- * Copyright (c) 2011-2013 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <boost/shared_ptr.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
@@ -14,7 +15,7 @@
namespace Swift {
-class StreamInitiationFileInfo : public Payload {
+class SWIFTEN_API StreamInitiationFileInfo : public Payload {
public:
typedef boost::shared_ptr<StreamInitiationFileInfo> ref;
diff --git a/Swiften/Elements/StreamManagementFailed.h b/Swiften/Elements/StreamManagementFailed.h
index 97887cc..70781d7 100644
--- a/Swiften/Elements/StreamManagementFailed.h
+++ b/Swiften/Elements/StreamManagementFailed.h
@@ -1,16 +1,16 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
-
namespace Swift {
- class StreamManagementFailed : public ToplevelElement {
+ class SWIFTEN_API StreamManagementFailed : public ToplevelElement {
public:
StreamManagementFailed() {}
};
diff --git a/Swiften/Elements/StreamResume.h b/Swiften/Elements/StreamResume.h
index ce531f3..ca08546 100644
--- a/Swiften/Elements/StreamResume.h
+++ b/Swiften/Elements/StreamResume.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011-2014 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,10 +9,11 @@
#include <string>
#include <boost/optional.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
namespace Swift {
- class StreamResume : public ToplevelElement {
+ class SWIFTEN_API StreamResume : public ToplevelElement {
public:
StreamResume();
~StreamResume();
diff --git a/Swiften/Elements/StreamResumed.h b/Swiften/Elements/StreamResumed.h
index 5acecf8..68e0688 100644
--- a/Swiften/Elements/StreamResumed.h
+++ b/Swiften/Elements/StreamResumed.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011-2014 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,10 +9,11 @@
#include <string>
#include <boost/optional.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
namespace Swift {
- class StreamResumed : public ToplevelElement {
+ class SWIFTEN_API StreamResumed : public ToplevelElement {
public:
StreamResumed();
~StreamResumed();
diff --git a/Swiften/Elements/Subject.h b/Swiften/Elements/Subject.h
index cd748c1..b25c31d 100644
--- a/Swiften/Elements/Subject.h
+++ b/Swiften/Elements/Subject.h
@@ -1,16 +1,17 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <string>
namespace Swift {
- class Subject : public Payload {
+ class SWIFTEN_API Subject : public Payload {
public:
Subject(const std::string& text = "") : text_(text) {
}
diff --git a/Swiften/Elements/TLSProceed.h b/Swiften/Elements/TLSProceed.h
index fee6876..4e05511 100644
--- a/Swiften/Elements/TLSProceed.h
+++ b/Swiften/Elements/TLSProceed.h
@@ -1,15 +1,16 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
namespace Swift {
- class TLSProceed : public ToplevelElement {
+ class SWIFTEN_API TLSProceed : public ToplevelElement {
public:
TLSProceed() {}
};
diff --git a/Swiften/Elements/UnblockPayload.h b/Swiften/Elements/UnblockPayload.h
index 3b6ce6c..20459e2 100644
--- a/Swiften/Elements/UnblockPayload.h
+++ b/Swiften/Elements/UnblockPayload.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -8,11 +8,12 @@
#include <vector>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class UnblockPayload : public Payload {
+ class SWIFTEN_API UnblockPayload : public Payload {
public:
UnblockPayload(const std::vector<JID>& jids = std::vector<JID>()) : items(jids) {
}
diff --git a/Swiften/Elements/UnknownElement.h b/Swiften/Elements/UnknownElement.h
index 2d4593b..1d71e6b 100644
--- a/Swiften/Elements/UnknownElement.h
+++ b/Swiften/Elements/UnknownElement.h
@@ -1,15 +1,16 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/ToplevelElement.h>
namespace Swift {
- class UnknownElement : public ToplevelElement {
+ class SWIFTEN_API UnknownElement : public ToplevelElement {
public:
UnknownElement() {}
};
diff --git a/Swiften/Elements/VCard.h b/Swiften/Elements/VCard.h
index 3e720b5..54f52c2 100644
--- a/Swiften/Elements/VCard.h
+++ b/Swiften/Elements/VCard.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -10,12 +10,13 @@
#include <boost/date_time/posix_time/ptime.hpp>
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Base/ByteArray.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class VCard : public Payload {
+ class SWIFTEN_API VCard : public Payload {
public:
typedef boost::shared_ptr<VCard> ref;
diff --git a/Swiften/Elements/VCardUpdate.h b/Swiften/Elements/VCardUpdate.h
index 6df0233..ded26c9 100644
--- a/Swiften/Elements/VCardUpdate.h
+++ b/Swiften/Elements/VCardUpdate.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -7,10 +7,12 @@
#pragma once
#include <string>
+
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class VCardUpdate : public Payload {
+ class SWIFTEN_API VCardUpdate : public Payload {
public:
VCardUpdate(const std::string& photoHash = "") : photoHash_(photoHash) {}
diff --git a/Swiften/Elements/Version.h b/Swiften/Elements/Version.h
index a76a592..b14dcf0 100644
--- a/Swiften/Elements/Version.h
+++ b/Swiften/Elements/Version.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -7,10 +7,12 @@
#pragma once
#include <string>
+
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class Version : public Payload {
+ class SWIFTEN_API Version : public Payload {
public:
Version(const std::string& name = "", const std::string& version = "", const std::string& os = "") : name_(name), version_(version), os_(os) { }
diff --git a/Swiften/Elements/Whiteboard/WhiteboardDeleteOperation.h b/Swiften/Elements/Whiteboard/WhiteboardDeleteOperation.h
index 95015c9..297e75a 100644
--- a/Swiften/Elements/Whiteboard/WhiteboardDeleteOperation.h
+++ b/Swiften/Elements/Whiteboard/WhiteboardDeleteOperation.h
@@ -4,14 +4,20 @@
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
+/*
+ * Copyright (c) 2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Whiteboard/WhiteboardOperation.h>
-
#include <Swiften/Elements/Whiteboard/WhiteboardElement.h>
namespace Swift {
- class WhiteboardDeleteOperation : public WhiteboardOperation {
+ class SWIFTEN_API WhiteboardDeleteOperation : public WhiteboardOperation {
public:
typedef boost::shared_ptr<WhiteboardDeleteOperation> ref;
public:
diff --git a/Swiften/Elements/Whiteboard/WhiteboardEllipseElement.h b/Swiften/Elements/Whiteboard/WhiteboardEllipseElement.h
index 0078479..88d0907 100644
--- a/Swiften/Elements/Whiteboard/WhiteboardEllipseElement.h
+++ b/Swiften/Elements/Whiteboard/WhiteboardEllipseElement.h
@@ -4,13 +4,20 @@
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
+/*
+ * Copyright (c) 2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Whiteboard/WhiteboardElement.h>
#include <Swiften/Elements/Whiteboard/WhiteboardColor.h>
namespace Swift {
- class WhiteboardEllipseElement : public WhiteboardElement {
+ class SWIFTEN_API WhiteboardEllipseElement : public WhiteboardElement {
public:
typedef boost::shared_ptr<WhiteboardEllipseElement> ref;
public:
diff --git a/Swiften/Elements/Whiteboard/WhiteboardFreehandPathElement.h b/Swiften/Elements/Whiteboard/WhiteboardFreehandPathElement.h
index bcf3bf9..6e200fd 100644
--- a/Swiften/Elements/Whiteboard/WhiteboardFreehandPathElement.h
+++ b/Swiften/Elements/Whiteboard/WhiteboardFreehandPathElement.h
@@ -4,8 +4,15 @@
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
+/*
+ * Copyright (c) 2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Whiteboard/WhiteboardElement.h>
#include <Swiften/Elements/Whiteboard/WhiteboardColor.h>
@@ -13,7 +20,7 @@
#include <utility>
namespace Swift {
- class WhiteboardFreehandPathElement : public WhiteboardElement {
+ class SWIFTEN_API WhiteboardFreehandPathElement : public WhiteboardElement {
typedef std::pair<int, int> Point;
public:
typedef boost::shared_ptr<WhiteboardFreehandPathElement> ref;
diff --git a/Swiften/Elements/Whiteboard/WhiteboardInsertOperation.h b/Swiften/Elements/Whiteboard/WhiteboardInsertOperation.h
index fd52405..d52adc2 100644
--- a/Swiften/Elements/Whiteboard/WhiteboardInsertOperation.h
+++ b/Swiften/Elements/Whiteboard/WhiteboardInsertOperation.h
@@ -4,14 +4,20 @@
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
+/*
+ * Copyright (c) 2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Whiteboard/WhiteboardOperation.h>
-
#include <Swiften/Elements/Whiteboard/WhiteboardElement.h>
namespace Swift {
- class WhiteboardInsertOperation : public WhiteboardOperation {
+ class SWIFTEN_API WhiteboardInsertOperation : public WhiteboardOperation {
public:
typedef boost::shared_ptr<WhiteboardInsertOperation> ref;
public:
diff --git a/Swiften/Elements/Whiteboard/WhiteboardLineElement.h b/Swiften/Elements/Whiteboard/WhiteboardLineElement.h
index 51aab35..267fb33 100644
--- a/Swiften/Elements/Whiteboard/WhiteboardLineElement.h
+++ b/Swiften/Elements/Whiteboard/WhiteboardLineElement.h
@@ -5,7 +5,7 @@
*/
/*
- * Copyright (c) 2014 Isode Limited.
+ * Copyright (c) 2014-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -13,11 +13,12 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Whiteboard/WhiteboardElement.h>
#include <Swiften/Elements/Whiteboard/WhiteboardColor.h>
namespace Swift {
- class WhiteboardLineElement : public WhiteboardElement {
+ class SWIFTEN_API WhiteboardLineElement : public WhiteboardElement {
public:
typedef boost::shared_ptr<WhiteboardLineElement> ref;
public:
diff --git a/Swiften/Elements/Whiteboard/WhiteboardPolygonElement.h b/Swiften/Elements/Whiteboard/WhiteboardPolygonElement.h
index 679ac01..f885d3b 100644
--- a/Swiften/Elements/Whiteboard/WhiteboardPolygonElement.h
+++ b/Swiften/Elements/Whiteboard/WhiteboardPolygonElement.h
@@ -4,13 +4,20 @@
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
+/*
+ * Copyright (c) 2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Whiteboard/WhiteboardElement.h>
#include <Swiften/Elements/Whiteboard/WhiteboardColor.h>
namespace Swift {
- class WhiteboardPolygonElement : public WhiteboardElement {
+ class SWIFTEN_API WhiteboardPolygonElement : public WhiteboardElement {
typedef std::pair<int, int> Point;
public:
typedef boost::shared_ptr<WhiteboardPolygonElement> ref;
diff --git a/Swiften/Elements/Whiteboard/WhiteboardRectElement.h b/Swiften/Elements/Whiteboard/WhiteboardRectElement.h
index 75afb4e..f22ab5c 100644
--- a/Swiften/Elements/Whiteboard/WhiteboardRectElement.h
+++ b/Swiften/Elements/Whiteboard/WhiteboardRectElement.h
@@ -5,18 +5,19 @@
*/
/*
- * Copyright (c) 2014 Isode Limited.
+ * Copyright (c) 2014-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Whiteboard/WhiteboardElement.h>
#include <Swiften/Elements/Whiteboard/WhiteboardColor.h>
namespace Swift {
- class WhiteboardRectElement : public WhiteboardElement {
+ class SWIFTEN_API WhiteboardRectElement : public WhiteboardElement {
public:
typedef boost::shared_ptr<WhiteboardRectElement> ref;
public:
diff --git a/Swiften/Elements/Whiteboard/WhiteboardTextElement.h b/Swiften/Elements/Whiteboard/WhiteboardTextElement.h
index 7118ac9..bd9b579 100644
--- a/Swiften/Elements/Whiteboard/WhiteboardTextElement.h
+++ b/Swiften/Elements/Whiteboard/WhiteboardTextElement.h
@@ -4,13 +4,20 @@
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
+/*
+ * Copyright (c) 2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Whiteboard/WhiteboardElement.h>
#include <Swiften/Elements/Whiteboard/WhiteboardColor.h>
namespace Swift {
- class WhiteboardTextElement : public WhiteboardElement {
+ class SWIFTEN_API WhiteboardTextElement : public WhiteboardElement {
public:
typedef boost::shared_ptr<WhiteboardTextElement> ref;
public:
diff --git a/Swiften/Elements/Whiteboard/WhiteboardUpdateOperation.h b/Swiften/Elements/Whiteboard/WhiteboardUpdateOperation.h
index a68cc7d..af07e8f 100644
--- a/Swiften/Elements/Whiteboard/WhiteboardUpdateOperation.h
+++ b/Swiften/Elements/Whiteboard/WhiteboardUpdateOperation.h
@@ -4,14 +4,20 @@
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
+/*
+ * Copyright (c) 2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Whiteboard/WhiteboardOperation.h>
-
#include <Swiften/Elements/Whiteboard/WhiteboardElement.h>
namespace Swift {
- class WhiteboardUpdateOperation : public WhiteboardOperation {
+ class SWIFTEN_API WhiteboardUpdateOperation : public WhiteboardOperation {
public:
typedef boost::shared_ptr<WhiteboardUpdateOperation> ref;
public:
diff --git a/Swiften/Elements/WhiteboardPayload.h b/Swiften/Elements/WhiteboardPayload.h
index ceb2b27..3fcaa33 100644
--- a/Swiften/Elements/WhiteboardPayload.h
+++ b/Swiften/Elements/WhiteboardPayload.h
@@ -4,16 +4,23 @@
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
+/*
+ * Copyright (c) 2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
#pragma once
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/Elements/Whiteboard/WhiteboardElement.h>
#include <Swiften/Elements/Whiteboard/WhiteboardOperation.h>
namespace Swift {
- class WhiteboardPayload : public Payload {
+ class SWIFTEN_API WhiteboardPayload : public Payload {
public:
typedef boost::shared_ptr<WhiteboardPayload> ref;