summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-09-17 18:01:03 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-09-17 18:01:03 (GMT)
commit3d6aa3b50090c19b50ae488494f1459bade88da3 (patch)
tree60db50a40f01d2dc4b48e5aee1011f0e72643c39 /Swiften/Roster
parent7693734b10699b5fc4bfc3d7dc33128d558e202d (diff)
downloadswift-3d6aa3b50090c19b50ae488494f1459bade88da3.zip
swift-3d6aa3b50090c19b50ae488494f1459bade88da3.tar.bz2
Support for building swiften as a DLL
Added missing SWIFTEN_API declarations. Changed test infrastructure to extend path before running tests.
Diffstat (limited to 'Swiften/Roster')
-rw-r--r--Swiften/Roster/RosterMemoryStorage.h3
-rw-r--r--Swiften/Roster/XMPPRosterController.h3
-rw-r--r--Swiften/Roster/XMPPRosterImpl.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/Swiften/Roster/RosterMemoryStorage.h b/Swiften/Roster/RosterMemoryStorage.h
index b659d77..c9312db 100644
--- a/Swiften/Roster/RosterMemoryStorage.h
+++ b/Swiften/Roster/RosterMemoryStorage.h
@@ -6,10 +6,11 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Roster/RosterStorage.h>
namespace Swift {
- class RosterMemoryStorage : public RosterStorage {
+ class SWIFTEN_API RosterMemoryStorage : public RosterStorage {
public:
RosterMemoryStorage();
diff --git a/Swiften/Roster/XMPPRosterController.h b/Swiften/Roster/XMPPRosterController.h
index f105463..603f350 100644
--- a/Swiften/Roster/XMPPRosterController.h
+++ b/Swiften/Roster/XMPPRosterController.h
@@ -8,6 +8,7 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
#include <string>
#include <Swiften/Elements/IQ.h>
@@ -20,7 +21,7 @@ namespace Swift {
class XMPPRosterImpl;
class RosterStorage;
- class XMPPRosterController {
+ class SWIFTEN_API XMPPRosterController {
public:
XMPPRosterController(IQRouter *iqRouter, XMPPRosterImpl* xmppRoster, RosterStorage* storage);
~XMPPRosterController();
diff --git a/Swiften/Roster/XMPPRosterImpl.h b/Swiften/Roster/XMPPRosterImpl.h
index cbb3166..8c8cf3e 100644
--- a/Swiften/Roster/XMPPRosterImpl.h
+++ b/Swiften/Roster/XMPPRosterImpl.h
@@ -9,10 +9,11 @@
#include <map>
#include <set>
+#include <Swiften/Base/API.h>
#include <Swiften/Roster/XMPPRoster.h>
namespace Swift {
- class XMPPRosterImpl : public XMPPRoster {
+ class SWIFTEN_API XMPPRosterImpl : public XMPPRoster {
public:
XMPPRosterImpl();