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/Queries
parent075c1f08245055e0060df2695e75bba54e697d36 (diff)
downloadswift-003381f417caaae9918cd81fa53bcc0547caa4c9.zip
swift-003381f417caaae9918cd81fa53bcc0547caa4c9.tar.bz2
Initial DLL support for Swiften.
All applications succesfully link against Swiften.dll.
Diffstat (limited to 'Swiften/Queries')
-rw-r--r--Swiften/Queries/GenericRequest.h1
-rw-r--r--Swiften/Queries/GetResponder.h3
-rw-r--r--Swiften/Queries/IQHandler.h3
-rw-r--r--Swiften/Queries/IQRouter.h5
-rw-r--r--Swiften/Queries/Request.h5
-rw-r--r--Swiften/Queries/Responders/SoftwareVersionResponder.h3
6 files changed, 12 insertions, 8 deletions
diff --git a/Swiften/Queries/GenericRequest.h b/Swiften/Queries/GenericRequest.h
index b9cc6fc..68c86c5 100644
--- a/Swiften/Queries/GenericRequest.h
+++ b/Swiften/Queries/GenericRequest.h
@@ -7,7 +7,6 @@
#pragma once
#include <Swiften/Base/boost_bsignals.h>
-
#include <Swiften/Queries/Request.h>
namespace Swift {
diff --git a/Swiften/Queries/GetResponder.h b/Swiften/Queries/GetResponder.h
index bca507a..213a52f 100644
--- a/Swiften/Queries/GetResponder.h
+++ b/Swiften/Queries/GetResponder.h
@@ -6,11 +6,12 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Queries/Responder.h>
namespace Swift {
template<typename T>
- class GetResponder : public Responder<T> {
+ class SWIFTEN_API GetResponder : public Responder<T> {
public:
GetResponder(IQRouter* router) : Responder<T>(router) {}
diff --git a/Swiften/Queries/IQHandler.h b/Swiften/Queries/IQHandler.h
index c9af5ea..19e16a7 100644
--- a/Swiften/Queries/IQHandler.h
+++ b/Swiften/Queries/IQHandler.h
@@ -8,12 +8,13 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/IQ.h>
namespace Swift {
class IQRouter;
- class IQHandler {
+ class SWIFTEN_API IQHandler {
public:
virtual ~IQHandler();
diff --git a/Swiften/Queries/IQRouter.h b/Swiften/Queries/IQRouter.h
index de2822b..0655035 100644
--- a/Swiften/Queries/IQRouter.h
+++ b/Swiften/Queries/IQRouter.h
@@ -8,15 +8,16 @@
#include <boost/shared_ptr.hpp>
#include <vector>
-
#include <string>
+
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/IQ.h>
namespace Swift {
class IQChannel;
class IQHandler;
- class IQRouter {
+ class SWIFTEN_API IQRouter {
public:
IQRouter(IQChannel* channel);
~IQRouter();
diff --git a/Swiften/Queries/Request.h b/Swiften/Queries/Request.h
index 668ed04..5e3a4b8 100644
--- a/Swiften/Queries/Request.h
+++ b/Swiften/Queries/Request.h
@@ -9,8 +9,9 @@
#include <boost/shared_ptr.hpp>
#include <boost/optional.hpp>
#include <boost/enable_shared_from_this.hpp>
-
#include <string>
+
+#include <Swiften/Base/API.h>
#include <Swiften/Queries/IQHandler.h>
#include <Swiften/Elements/IQ.h>
#include <Swiften/Elements/Payload.h>
@@ -21,7 +22,7 @@ namespace Swift {
/**
* An IQ get/set request query.
*/
- class Request : public IQHandler, public boost::enable_shared_from_this<Request> {
+ class SWIFTEN_API Request : public IQHandler, public boost::enable_shared_from_this<Request> {
public:
void send();
diff --git a/Swiften/Queries/Responders/SoftwareVersionResponder.h b/Swiften/Queries/Responders/SoftwareVersionResponder.h
index a2929df..4957c0f 100644
--- a/Swiften/Queries/Responders/SoftwareVersionResponder.h
+++ b/Swiften/Queries/Responders/SoftwareVersionResponder.h
@@ -6,13 +6,14 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Queries/GetResponder.h>
#include <Swiften/Elements/SoftwareVersion.h>
namespace Swift {
class IQRouter;
- class SoftwareVersionResponder : public GetResponder<SoftwareVersion> {
+ class SWIFTEN_API SoftwareVersionResponder : public GetResponder<SoftwareVersion> {
public:
SoftwareVersionResponder(IQRouter* router);