diff options
Diffstat (limited to 'Swiften/Disco')
| -rw-r--r-- | Swiften/Disco/CapsMemoryStorage.h | 5 | ||||
| -rw-r--r-- | Swiften/Disco/CapsProvider.h | 5 | ||||
| -rw-r--r-- | Swiften/Disco/GetDiscoInfoRequest.h | 5 | ||||
| -rw-r--r-- | Swiften/Disco/GetDiscoItemsRequest.h | 5 |
4 files changed, 12 insertions, 8 deletions
diff --git a/Swiften/Disco/CapsMemoryStorage.h b/Swiften/Disco/CapsMemoryStorage.h index b61dc3e..2a81554 100644 --- a/Swiften/Disco/CapsMemoryStorage.h +++ b/Swiften/Disco/CapsMemoryStorage.h @@ -1,22 +1,23 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include <boost/shared_ptr.hpp> #include <map> #include <string> +#include <Swiften/Base/API.h> #include <Swiften/Disco/CapsStorage.h> namespace Swift { - class CapsMemoryStorage : public CapsStorage { + class SWIFTEN_API CapsMemoryStorage : public CapsStorage { public: CapsMemoryStorage() {} virtual DiscoInfo::ref getDiscoInfo(const std::string& hash) const { CapsMap::const_iterator i = caps.find(hash); if (i != caps.end()) { diff --git a/Swiften/Disco/CapsProvider.h b/Swiften/Disco/CapsProvider.h index 133265e..08202a7 100644 --- a/Swiften/Disco/CapsProvider.h +++ b/Swiften/Disco/CapsProvider.h @@ -1,22 +1,23 @@ /* - * 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/boost_bsignals.h> +#include <Swiften/Base/API.h> #include <Swiften/Elements/DiscoInfo.h> #include <Swiften/Elements/CapsInfo.h> namespace Swift { - class CapsProvider { + class SWIFTEN_API CapsProvider { public: virtual ~CapsProvider() {} virtual DiscoInfo::ref getCaps(const std::string&) const = 0; boost::signal<void (const std::string&)> onCapsAvailable; diff --git a/Swiften/Disco/GetDiscoInfoRequest.h b/Swiften/Disco/GetDiscoInfoRequest.h index 7265926..a3c1415 100644 --- a/Swiften/Disco/GetDiscoInfoRequest.h +++ b/Swiften/Disco/GetDiscoInfoRequest.h @@ -1,21 +1,22 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include <boost/smart_ptr/make_shared.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Queries/GenericRequest.h> #include <Swiften/Elements/DiscoInfo.h> namespace Swift { - class GetDiscoInfoRequest : public GenericRequest<DiscoInfo> { + class SWIFTEN_API GetDiscoInfoRequest : public GenericRequest<DiscoInfo> { public: typedef boost::shared_ptr<GetDiscoInfoRequest> ref; static ref create(const JID& jid, IQRouter* router) { return ref(new GetDiscoInfoRequest(jid, router)); } diff --git a/Swiften/Disco/GetDiscoItemsRequest.h b/Swiften/Disco/GetDiscoItemsRequest.h index 1e645c2..a9cf38b 100644 --- a/Swiften/Disco/GetDiscoItemsRequest.h +++ b/Swiften/Disco/GetDiscoItemsRequest.h @@ -1,21 +1,22 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include <boost/smart_ptr/make_shared.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Queries/GenericRequest.h> #include <Swiften/Elements/DiscoItems.h> namespace Swift { - class GetDiscoItemsRequest : public GenericRequest<DiscoItems> { + class SWIFTEN_API GetDiscoItemsRequest : public GenericRequest<DiscoItems> { public: typedef boost::shared_ptr<GetDiscoItemsRequest> ref; static ref create(const JID& jid, IQRouter* router) { return ref(new GetDiscoItemsRequest(jid, router)); } |
Swift