diff options
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 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010 Isode Limited. | 2 | * Copyright (c) 2010-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #pragma once | 7 | #pragma once |
| 8 | 8 | ||
| 9 | #include <Swiften/Base/API.h> | ||
| 9 | #include <Swiften/Queries/GenericRequest.h> | 10 | #include <Swiften/Queries/GenericRequest.h> |
| 10 | #include <Swiften/Elements/InBandRegistrationPayload.h> | 11 | #include <Swiften/Elements/InBandRegistrationPayload.h> |
| 11 | 12 | ||
| 12 | |||
| 13 | namespace Swift { | 13 | namespace Swift { |
| 14 | class GetInBandRegistrationFormRequest : public GenericRequest<InBandRegistrationPayload> { | 14 | class SWIFTEN_API GetInBandRegistrationFormRequest : public GenericRequest<InBandRegistrationPayload> { |
| 15 | public: | 15 | public: |
| 16 | typedef boost::shared_ptr<GetInBandRegistrationFormRequest> ref; | 16 | typedef boost::shared_ptr<GetInBandRegistrationFormRequest> ref; |
| 17 | 17 | ||
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 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010 Isode Limited. | 2 | * Copyright (c) 2010-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -10,13 +10,14 @@ | |||
| 10 | #include <boost/shared_ptr.hpp> | 10 | #include <boost/shared_ptr.hpp> |
| 11 | #include <boost/smart_ptr/make_shared.hpp> | 11 | #include <boost/smart_ptr/make_shared.hpp> |
| 12 | 12 | ||
| 13 | #include <Swiften/Base/API.h> | ||
| 13 | #include <Swiften/Queries/Request.h> | 14 | #include <Swiften/Queries/Request.h> |
| 14 | #include <Swiften/Elements/PrivateStorage.h> | 15 | #include <Swiften/Elements/PrivateStorage.h> |
| 15 | #include <Swiften/Elements/ErrorPayload.h> | 16 | #include <Swiften/Elements/ErrorPayload.h> |
| 16 | 17 | ||
| 17 | namespace Swift { | 18 | namespace Swift { |
| 18 | template<typename PAYLOAD_TYPE> | 19 | template<typename PAYLOAD_TYPE> |
| 19 | class GetPrivateStorageRequest : public Request { | 20 | class SWIFTEN_API GetPrivateStorageRequest : public Request { |
| 20 | public: | 21 | public: |
| 21 | typedef boost::shared_ptr<GetPrivateStorageRequest<PAYLOAD_TYPE> > ref; | 22 | typedef boost::shared_ptr<GetPrivateStorageRequest<PAYLOAD_TYPE> > ref; |
| 22 | 23 | ||
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 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010 Isode Limited. | 2 | * Copyright (c) 2010-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -8,12 +8,13 @@ | |||
| 8 | 8 | ||
| 9 | #include <boost/smart_ptr/make_shared.hpp> | 9 | #include <boost/smart_ptr/make_shared.hpp> |
| 10 | 10 | ||
| 11 | #include <Swiften/Base/API.h> | ||
| 11 | #include <Swiften/Queries/GenericRequest.h> | 12 | #include <Swiften/Queries/GenericRequest.h> |
| 12 | #include <Swiften/Elements/SecurityLabelsCatalog.h> | 13 | #include <Swiften/Elements/SecurityLabelsCatalog.h> |
| 13 | 14 | ||
| 14 | 15 | ||
| 15 | namespace Swift { | 16 | namespace Swift { |
| 16 | class GetSecurityLabelsCatalogRequest : public GenericRequest<SecurityLabelsCatalog> { | 17 | class SWIFTEN_API GetSecurityLabelsCatalogRequest : public GenericRequest<SecurityLabelsCatalog> { |
| 17 | public: | 18 | public: |
| 18 | typedef boost::shared_ptr<GetSecurityLabelsCatalogRequest> ref; | 19 | typedef boost::shared_ptr<GetSecurityLabelsCatalogRequest> ref; |
| 19 | 20 | ||
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 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010 Isode Limited. | 2 | * Copyright (c) 2010-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #pragma once | 7 | #pragma once |
| 8 | 8 | ||
| 9 | #include <Swiften/Base/API.h> | ||
| 9 | #include <Swiften/Queries/GenericRequest.h> | 10 | #include <Swiften/Queries/GenericRequest.h> |
| 10 | #include <Swiften/Elements/SoftwareVersion.h> | 11 | #include <Swiften/Elements/SoftwareVersion.h> |
| 11 | #include <boost/smart_ptr/make_shared.hpp> | 12 | #include <boost/smart_ptr/make_shared.hpp> |
| 12 | 13 | ||
| 13 | 14 | ||
| 14 | namespace Swift { | 15 | namespace Swift { |
| 15 | class GetSoftwareVersionRequest : public GenericRequest<SoftwareVersion> { | 16 | class SWIFTEN_API GetSoftwareVersionRequest : public GenericRequest<SoftwareVersion> { |
| 16 | public: | 17 | public: |
| 17 | typedef boost::shared_ptr<GetSoftwareVersionRequest> ref; | 18 | typedef boost::shared_ptr<GetSoftwareVersionRequest> ref; |
| 18 | 19 | ||
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 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010 Isode Limited. | 2 | * Copyright (c) 2010-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -10,13 +10,14 @@ | |||
| 10 | #include <boost/shared_ptr.hpp> | 10 | #include <boost/shared_ptr.hpp> |
| 11 | #include <boost/smart_ptr/make_shared.hpp> | 11 | #include <boost/smart_ptr/make_shared.hpp> |
| 12 | 12 | ||
| 13 | #include <Swiften/Base/API.h> | ||
| 13 | #include <Swiften/Queries/Request.h> | 14 | #include <Swiften/Queries/Request.h> |
| 14 | #include <Swiften/Elements/PrivateStorage.h> | 15 | #include <Swiften/Elements/PrivateStorage.h> |
| 15 | #include <Swiften/Elements/ErrorPayload.h> | 16 | #include <Swiften/Elements/ErrorPayload.h> |
| 16 | 17 | ||
| 17 | namespace Swift { | 18 | namespace Swift { |
| 18 | template<typename PAYLOAD_TYPE> | 19 | template<typename PAYLOAD_TYPE> |
| 19 | class SetPrivateStorageRequest : public Request { | 20 | class SWIFTEN_API SetPrivateStorageRequest : public Request { |
| 20 | public: | 21 | public: |
| 21 | typedef boost::shared_ptr<SetPrivateStorageRequest<PAYLOAD_TYPE> > ref; | 22 | typedef boost::shared_ptr<SetPrivateStorageRequest<PAYLOAD_TYPE> > ref; |
| 22 | 23 | ||
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 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010 Isode Limited. | 2 | * Copyright (c) 2010-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -9,12 +9,13 @@ | |||
| 9 | #include <Swiften/Base/boost_bsignals.h> | 9 | #include <Swiften/Base/boost_bsignals.h> |
| 10 | #include <boost/shared_ptr.hpp> | 10 | #include <boost/shared_ptr.hpp> |
| 11 | 11 | ||
| 12 | #include <Swiften/Base/API.h> | ||
| 12 | #include <Swiften/Queries/Request.h> | 13 | #include <Swiften/Queries/Request.h> |
| 13 | #include <Swiften/Elements/InBandRegistrationPayload.h> | 14 | #include <Swiften/Elements/InBandRegistrationPayload.h> |
| 14 | 15 | ||
| 15 | 16 | ||
| 16 | namespace Swift { | 17 | namespace Swift { |
| 17 | class SetInBandRegistrationRequest : public Request { | 18 | class SWIFTEN_API SetInBandRegistrationRequest : public Request { |
| 18 | public: | 19 | public: |
| 19 | typedef boost::shared_ptr<SetInBandRegistrationRequest> ref; | 20 | typedef boost::shared_ptr<SetInBandRegistrationRequest> ref; |
| 20 | 21 | ||
Swift