summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-07-14 08:13:57 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-07-14 13:08:36 (GMT)
commit003381f417caaae9918cd81fa53bcc0547caa4c9 (patch)
treec0571987e87a115e5a7ad03eca55db972f6686c6 /Swiften/Client
parent075c1f08245055e0060df2695e75bba54e697d36 (diff)
downloadswift-contrib-003381f417caaae9918cd81fa53bcc0547caa4c9.zip
swift-contrib-003381f417caaae9918cd81fa53bcc0547caa4c9.tar.bz2
Initial DLL support for Swiften.
All applications succesfully link against Swiften.dll.
Diffstat (limited to 'Swiften/Client')
-rw-r--r--Swiften/Client/Client.h4
-rw-r--r--Swiften/Client/ClientXMLTracer.h3
-rw-r--r--Swiften/Client/CoreClient.h5
-rw-r--r--Swiften/Client/NickResolver.h6
-rw-r--r--Swiften/Client/Storages.h4
5 files changed, 14 insertions, 8 deletions
diff --git a/Swiften/Client/Client.h b/Swiften/Client/Client.h
index 940a526..9652b16 100644
--- a/Swiften/Client/Client.h
+++ b/Swiften/Client/Client.h
@@ -6,8 +6,8 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Client/CoreClient.h>
-
#include <Swiften/Base/SafeString.h>
namespace Swift {
@@ -43,7 +43,7 @@ namespace Swift {
* Besides connecting to an XMPP server, this class also provides interfaces for
* performing most tasks on the XMPP network.
*/
- class Client : public CoreClient {
+ class SWIFTEN_API Client : public CoreClient {
public:
/**
* Constructs a client for the given JID with the given password.
diff --git a/Swiften/Client/ClientXMLTracer.h b/Swiften/Client/ClientXMLTracer.h
index 67040c4..91cfe22 100644
--- a/Swiften/Client/ClientXMLTracer.h
+++ b/Swiften/Client/ClientXMLTracer.h
@@ -6,12 +6,13 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Client/CoreClient.h>
#include <Swiften/Client/XMLBeautifier.h>
#include <Swiften/Base/SafeByteArray.h>
namespace Swift {
- class ClientXMLTracer {
+ class SWIFTEN_API ClientXMLTracer {
public:
ClientXMLTracer(CoreClient* client, bool bosh = false);
~ClientXMLTracer();
diff --git a/Swiften/Client/CoreClient.h b/Swiften/Client/CoreClient.h
index 4bb04e2..c9da0eb 100644
--- a/Swiften/Client/CoreClient.h
+++ b/Swiften/Client/CoreClient.h
@@ -8,8 +8,9 @@
#include <string>
#include <boost/shared_ptr.hpp>
-#include <Swiften/Base/boost_bsignals.h>
+#include <Swiften/Base/API.h>
+#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/Entity/Entity.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Client/ClientError.h>
@@ -45,7 +46,7 @@ namespace Swift {
* subclass provides more functionality and interfaces, and is better suited
* for most needs.
*/
- class CoreClient : public Entity {
+ class SWIFTEN_API CoreClient : public Entity {
public:
/**
* Constructs a client for the given JID with the given password.
diff --git a/Swiften/Client/NickResolver.h b/Swiften/Client/NickResolver.h
index 584f2ce..306703e 100644
--- a/Swiften/Client/NickResolver.h
+++ b/Swiften/Client/NickResolver.h
@@ -6,9 +6,10 @@
#include <map>
#include <boost/shared_ptr.hpp>
+#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/boost_bsignals.h>
-#include <string>
#include <Swiften/JID/JID.h>
#include <Swiften/Elements/VCard.h>
@@ -16,7 +17,8 @@ namespace Swift {
class XMPPRoster;
class MUCRegistry;
class VCardManager;
- class NickResolver {
+
+ class SWIFTEN_API NickResolver {
public:
NickResolver(const JID& ownJID, XMPPRoster* xmppRoster, VCardManager* vcardManager, MUCRegistry* mucRegistry);
diff --git a/Swiften/Client/Storages.h b/Swiften/Client/Storages.h
index 1c5bbe9..89b770c 100644
--- a/Swiften/Client/Storages.h
+++ b/Swiften/Client/Storages.h
@@ -6,6 +6,8 @@
#pragma once
+#include <Swiften/Base/API.h>
+
namespace Swift {
class VCardStorage;
class AvatarStorage;
@@ -16,7 +18,7 @@ namespace Swift {
* An interface to hold storage classes for different
* controllers.
*/
- class Storages {
+ class SWIFTEN_API Storages {
public:
virtual ~Storages();