summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Roster')
-rw-r--r--Swiften/Roster/RosterMemoryStorage.h3
-rw-r--r--Swiften/Roster/RosterStorage.h3
-rw-r--r--Swiften/Roster/XMPPRosterController.h3
-rw-r--r--Swiften/Roster/XMPPRosterImpl.h5
4 files changed, 9 insertions, 5 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
@@ -7,8 +7,9 @@
#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/RosterStorage.h b/Swiften/Roster/RosterStorage.h
index ba24cb3..7f0f20b 100644
--- a/Swiften/Roster/RosterStorage.h
+++ b/Swiften/Roster/RosterStorage.h
@@ -9,8 +9,9 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/RosterPayload.h>
namespace Swift {
- class RosterStorage {
+ class SWIFTEN_API RosterStorage {
public:
virtual ~RosterStorage();
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
@@ -9,4 +9,5 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
#include <string>
@@ -21,5 +22,5 @@ namespace Swift {
class RosterStorage;
- class XMPPRosterController {
+ class SWIFTEN_API XMPPRosterController {
public:
XMPPRosterController(IQRouter *iqRouter, XMPPRosterImpl* xmppRoster, RosterStorage* storage);
diff --git a/Swiften/Roster/XMPPRosterImpl.h b/Swiften/Roster/XMPPRosterImpl.h
index cbb3166..96da1f3 100644
--- a/Swiften/Roster/XMPPRosterImpl.h
+++ b/Swiften/Roster/XMPPRosterImpl.h
@@ -10,12 +10,13 @@
#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();
- void addContact(const JID& jid, const std::string& name, const std::vector<std::string>& groups, const RosterItemPayload::Subscription subscription);
+ void addContact(const JID& jid, const std::string& name, const std::vector<std::string>& groups, RosterItemPayload::Subscription subscription);
void removeContact(const JID& jid);
void clear();