diff options
author | Tobias Markmann <tm@ayena.de> | 2015-06-07 22:34:19 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2015-06-08 09:37:53 (GMT) |
commit | b6b0695643f932827add43b9de0e09ed74eb6799 (patch) | |
tree | 72456efba9fab6fbc6004a98f0a61b7a8167f791 /Swiften/Queries/Requests | |
parent | 3741c9ad5c0cc6f92e4ed913d67b3b530882334e (diff) | |
download | swift-b6b0695643f932827add43b9de0e09ed74eb6799.zip swift-b6b0695643f932827add43b9de0e09ed74eb6799.tar.bz2 |
Add missing SWIFTEN_API annotations to public Swiften API
Test-Information:
Tested build on Windows 8 with VS 2014 and ran unit tests.
Change-Id: I3d8096df4801be6901f22564e36eecba0e7310c4
Diffstat (limited to 'Swiften/Queries/Requests')
6 files changed, 18 insertions, 13 deletions
diff --git a/Swiften/Queries/Requests/GetInBandRegistrationFormRequest.h b/Swiften/Queries/Requests/GetInBandRegistrationFormRequest.h index 109ce38..b952875 100644 --- a/Swiften/Queries/Requests/GetInBandRegistrationFormRequest.h +++ b/Swiften/Queries/Requests/GetInBandRegistrationFormRequest.h @@ -1,17 +1,17 @@ /* - * 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/InBandRegistrationPayload.h> - namespace Swift { - class GetInBandRegistrationFormRequest : public GenericRequest<InBandRegistrationPayload> { + class SWIFTEN_API GetInBandRegistrationFormRequest : public GenericRequest<InBandRegistrationPayload> { public: typedef boost::shared_ptr<GetInBandRegistrationFormRequest> ref; diff --git a/Swiften/Queries/Requests/GetPrivateStorageRequest.h b/Swiften/Queries/Requests/GetPrivateStorageRequest.h index 89499ff..97711a6 100644 --- a/Swiften/Queries/Requests/GetPrivateStorageRequest.h +++ b/Swiften/Queries/Requests/GetPrivateStorageRequest.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. */ @@ -10,13 +10,14 @@ #include <boost/shared_ptr.hpp> #include <boost/smart_ptr/make_shared.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Queries/Request.h> #include <Swiften/Elements/PrivateStorage.h> #include <Swiften/Elements/ErrorPayload.h> namespace Swift { template<typename PAYLOAD_TYPE> - class GetPrivateStorageRequest : public Request { + class SWIFTEN_API GetPrivateStorageRequest : public Request { public: typedef boost::shared_ptr<GetPrivateStorageRequest<PAYLOAD_TYPE> > ref; diff --git a/Swiften/Queries/Requests/GetSecurityLabelsCatalogRequest.h b/Swiften/Queries/Requests/GetSecurityLabelsCatalogRequest.h index ae534b4..7a76fcc 100644 --- a/Swiften/Queries/Requests/GetSecurityLabelsCatalogRequest.h +++ b/Swiften/Queries/Requests/GetSecurityLabelsCatalogRequest.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,12 +8,13 @@ #include <boost/smart_ptr/make_shared.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Queries/GenericRequest.h> #include <Swiften/Elements/SecurityLabelsCatalog.h> namespace Swift { - class GetSecurityLabelsCatalogRequest : public GenericRequest<SecurityLabelsCatalog> { + class SWIFTEN_API GetSecurityLabelsCatalogRequest : public GenericRequest<SecurityLabelsCatalog> { public: typedef boost::shared_ptr<GetSecurityLabelsCatalogRequest> ref; diff --git a/Swiften/Queries/Requests/GetSoftwareVersionRequest.h b/Swiften/Queries/Requests/GetSoftwareVersionRequest.h index 439660d..1084a0b 100644 --- a/Swiften/Queries/Requests/GetSoftwareVersionRequest.h +++ b/Swiften/Queries/Requests/GetSoftwareVersionRequest.h @@ -1,18 +1,19 @@ /* - * 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/SoftwareVersion.h> #include <boost/smart_ptr/make_shared.hpp> namespace Swift { - class GetSoftwareVersionRequest : public GenericRequest<SoftwareVersion> { + class SWIFTEN_API GetSoftwareVersionRequest : public GenericRequest<SoftwareVersion> { public: typedef boost::shared_ptr<GetSoftwareVersionRequest> ref; diff --git a/Swiften/Queries/Requests/SetPrivateStorageRequest.h b/Swiften/Queries/Requests/SetPrivateStorageRequest.h index 140f167..9ab65f7 100644 --- a/Swiften/Queries/Requests/SetPrivateStorageRequest.h +++ b/Swiften/Queries/Requests/SetPrivateStorageRequest.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. */ @@ -10,13 +10,14 @@ #include <boost/shared_ptr.hpp> #include <boost/smart_ptr/make_shared.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Queries/Request.h> #include <Swiften/Elements/PrivateStorage.h> #include <Swiften/Elements/ErrorPayload.h> namespace Swift { template<typename PAYLOAD_TYPE> - class SetPrivateStorageRequest : public Request { + class SWIFTEN_API SetPrivateStorageRequest : public Request { public: typedef boost::shared_ptr<SetPrivateStorageRequest<PAYLOAD_TYPE> > ref; diff --git a/Swiften/Queries/Requests/SubmitInBandRegistrationFormRequest.h b/Swiften/Queries/Requests/SubmitInBandRegistrationFormRequest.h index 82e1612..e79562a 100644 --- a/Swiften/Queries/Requests/SubmitInBandRegistrationFormRequest.h +++ b/Swiften/Queries/Requests/SubmitInBandRegistrationFormRequest.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/InBandRegistrationPayload.h> namespace Swift { - class SetInBandRegistrationRequest : public Request { + class SWIFTEN_API SetInBandRegistrationRequest : public Request { public: typedef boost::shared_ptr<SetInBandRegistrationRequest> ref; |