summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Client')
-rw-r--r--Swiften/Client/BlockList.h5
-rw-r--r--Swiften/Client/ClientBlockListManager.h5
-rw-r--r--Swiften/Client/ClientOptions.h3
-rw-r--r--Swiften/Client/ClientSessionStanzaChannel.h5
-rw-r--r--Swiften/Client/MemoryStorages.h5
-rw-r--r--Swiften/Client/StanzaChannel.h5
-rw-r--r--Swiften/Client/XMLBeautifier.h11
7 files changed, 23 insertions, 16 deletions
diff --git a/Swiften/Client/BlockList.h b/Swiften/Client/BlockList.h
index 2cf4aaf..eeb6c10 100644
--- a/Swiften/Client/BlockList.h
+++ b/Swiften/Client/BlockList.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,9 +10,10 @@
#include <Swiften/JID/JID.h>
#include <Swiften/Base/boost_bsignals.h>
+#include <Swiften/Base/API.h>
namespace Swift {
- class BlockList {
+ class SWIFTEN_API BlockList {
public:
enum State {
Init,
diff --git a/Swiften/Client/ClientBlockListManager.h b/Swiften/Client/ClientBlockListManager.h
index d3498a7..fb30eee 100644
--- a/Swiften/Client/ClientBlockListManager.h
+++ b/Swiften/Client/ClientBlockListManager.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,6 +8,7 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/Elements/BlockPayload.h>
#include <Swiften/Elements/BlockListPayload.h>
@@ -21,7 +22,7 @@
namespace Swift {
class IQRouter;
- class ClientBlockListManager {
+ class SWIFTEN_API ClientBlockListManager {
public:
ClientBlockListManager(IQRouter *iqRouter);
~ClientBlockListManager();
diff --git a/Swiften/Client/ClientOptions.h b/Swiften/Client/ClientOptions.h
index 20e7443..4aac609 100644
--- a/Swiften/Client/ClientOptions.h
+++ b/Swiften/Client/ClientOptions.h
@@ -8,13 +8,14 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/URL.h>
#include <Swiften/Base/SafeString.h>
namespace Swift {
class HTTPTrafficFilter;
- struct ClientOptions {
+ struct SWIFTEN_API ClientOptions {
enum UseTLS {
NeverUseTLS,
UseTLSWhenAvailable,
diff --git a/Swiften/Client/ClientSessionStanzaChannel.h b/Swiften/Client/ClientSessionStanzaChannel.h
index 4e2f842..1104416 100644
--- a/Swiften/Client/ClientSessionStanzaChannel.h
+++ b/Swiften/Client/ClientSessionStanzaChannel.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,6 +8,7 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/IDGenerator.h>
#include <Swiften/Client/ClientSession.h>
#include <Swiften/Client/StanzaChannel.h>
@@ -19,7 +20,7 @@ namespace Swift {
/**
* StanzaChannel implementation around a ClientSession.
*/
- class ClientSessionStanzaChannel : public StanzaChannel {
+ class SWIFTEN_API ClientSessionStanzaChannel : public StanzaChannel {
public:
void setSession(boost::shared_ptr<ClientSession> session);
diff --git a/Swiften/Client/MemoryStorages.h b/Swiften/Client/MemoryStorages.h
index 137e77b..e341a37 100644
--- a/Swiften/Client/MemoryStorages.h
+++ b/Swiften/Client/MemoryStorages.h
@@ -1,11 +1,12 @@
/*
- * Copyright (c) 2010-2013 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/Client/Storages.h>
namespace Swift {
@@ -16,7 +17,7 @@ namespace Swift {
* An implementation of Storages for storing all
* controller data in memory.
*/
- class MemoryStorages : public Storages {
+ class SWIFTEN_API MemoryStorages : public Storages {
public:
MemoryStorages(CryptoProvider*);
~MemoryStorages();
diff --git a/Swiften/Client/StanzaChannel.h b/Swiften/Client/StanzaChannel.h
index a299cd8..c7c0971 100644
--- a/Swiften/Client/StanzaChannel.h
+++ b/Swiften/Client/StanzaChannel.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,13 +9,14 @@
#include <Swiften/Base/boost_bsignals.h>
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Queries/IQChannel.h>
#include <Swiften/Elements/Message.h>
#include <Swiften/Elements/Presence.h>
#include <Swiften/TLS/Certificate.h>
namespace Swift {
- class StanzaChannel : public IQChannel {
+ class SWIFTEN_API StanzaChannel : public IQChannel {
public:
virtual void sendMessage(boost::shared_ptr<Message>) = 0;
virtual void sendPresence(boost::shared_ptr<Presence>) = 0;
diff --git a/Swiften/Client/XMLBeautifier.h b/Swiften/Client/XMLBeautifier.h
index af35be4..f8dccc5 100644
--- a/Swiften/Client/XMLBeautifier.h
+++ b/Swiften/Client/XMLBeautifier.h
@@ -5,10 +5,10 @@
*/
/*
-* Copyright (c) 2014 Isode Limited.
-* All rights reserved.
-* See the COPYING file for more information.
-*/
+ * Copyright (c) 2014-2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
#pragma once
@@ -16,6 +16,7 @@
#include <string>
#include <stack>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/Parser/XMLParserFactory.h>
#include <Swiften/Parser/XMLParserClient.h>
@@ -23,7 +24,7 @@
namespace Swift {
-class XMLBeautifier : public XMLParserClient {
+class SWIFTEN_API XMLBeautifier : public XMLParserClient {
public:
XMLBeautifier(bool indention, bool coloring);
virtual ~XMLBeautifier();