diff options
Diffstat (limited to 'Swiften/Roster')
-rw-r--r-- | Swiften/Roster/GetRosterRequest.h | 5 | ||||
-rw-r--r-- | Swiften/Roster/RosterPushResponder.h | 6 | ||||
-rw-r--r-- | Swiften/Roster/SetRosterRequest.h | 5 | ||||
-rw-r--r-- | Swiften/Roster/XMPPRoster.h | 5 | ||||
-rw-r--r-- | Swiften/Roster/XMPPRosterItem.h | 7 |
5 files changed, 16 insertions, 12 deletions
diff --git a/Swiften/Roster/GetRosterRequest.h b/Swiften/Roster/GetRosterRequest.h index ccb7f01..56ee2bb 100644 --- a/Swiften/Roster/GetRosterRequest.h +++ b/Swiften/Roster/GetRosterRequest.h @@ -1,17 +1,18 @@ /* - * Copyright (c) 2010 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/Queries/GenericRequest.h> #include <Swiften/Elements/RosterPayload.h> namespace Swift { - class GetRosterRequest : public GenericRequest<RosterPayload> { + class SWIFTEN_API GetRosterRequest : public GenericRequest<RosterPayload> { public: typedef boost::shared_ptr<GetRosterRequest> ref; diff --git a/Swiften/Roster/RosterPushResponder.h b/Swiften/Roster/RosterPushResponder.h index be2ed51..a54438b 100644 --- a/Swiften/Roster/RosterPushResponder.h +++ b/Swiften/Roster/RosterPushResponder.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. */ @@ -7,12 +7,12 @@ #pragma once #include <Swiften/Base/boost_bsignals.h> - +#include <Swiften/Base/API.h> #include <Swiften/Queries/SetResponder.h> #include <Swiften/Elements/RosterPayload.h> namespace Swift { - class RosterPushResponder : public SetResponder<RosterPayload> { + class SWIFTEN_API RosterPushResponder : public SetResponder<RosterPayload> { public: RosterPushResponder(IQRouter* router) : SetResponder<RosterPayload>(router) {} diff --git a/Swiften/Roster/SetRosterRequest.h b/Swiften/Roster/SetRosterRequest.h index f2e5e76..95a9f65 100644 --- a/Swiften/Roster/SetRosterRequest.h +++ b/Swiften/Roster/SetRosterRequest.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,12 +9,13 @@ #include <Swiften/Base/boost_bsignals.h> #include <boost/shared_ptr.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Queries/Request.h> #include <Swiften/Elements/RosterPayload.h> namespace Swift { - class SetRosterRequest : public Request { + class SWIFTEN_API SetRosterRequest : public Request { public: typedef boost::shared_ptr<SetRosterRequest> ref; diff --git a/Swiften/Roster/XMPPRoster.h b/Swiften/Roster/XMPPRoster.h index 2d3effa..d454516 100644 --- a/Swiften/Roster/XMPPRoster.h +++ b/Swiften/Roster/XMPPRoster.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. */ @@ -12,6 +12,7 @@ #include <Swiften/Base/boost_bsignals.h> #include <string> +#include <Swiften/Base/API.h> #include <Swiften/JID/JID.h> #include <Swiften/Elements/RosterItemPayload.h> #include <Swiften/Roster/XMPPRosterItem.h> @@ -23,7 +24,7 @@ namespace Swift { * Changes to the roster (either due to subscription requests or by going online/offline) are * emitted through signals. */ - class XMPPRoster { + class SWIFTEN_API XMPPRoster { public: XMPPRoster(); virtual ~XMPPRoster(); diff --git a/Swiften/Roster/XMPPRosterItem.h b/Swiften/Roster/XMPPRosterItem.h index 3a9c691..3ea11ce 100644 --- a/Swiften/Roster/XMPPRosterItem.h +++ b/Swiften/Roster/XMPPRosterItem.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,13 +8,14 @@ #include <vector> - #include <string> + +#include <Swiften/Base/API.h> #include <Swiften/JID/JID.h> #include <Swiften/Elements/RosterItemPayload.h> namespace Swift { - class XMPPRosterItem { + class SWIFTEN_API XMPPRosterItem { public: XMPPRosterItem(const JID& jid, const std::string& name, const std::vector<std::string>& groups, RosterItemPayload::Subscription subscription) : jid(jid), name(name), groups(groups), subscription(subscription) { } |