summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/VCards/GetVCardRequest.h')
-rw-r--r--Swiften/VCards/GetVCardRequest.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/Swiften/VCards/GetVCardRequest.h b/Swiften/VCards/GetVCardRequest.h
index dc65773..1b575c0 100644
--- a/Swiften/VCards/GetVCardRequest.h
+++ b/Swiften/VCards/GetVCardRequest.h
@@ -1,26 +1,26 @@
/*
- * Copyright (c) 2010 Remko Tronçon
- * Licensed under the GNU General Public License v3.
- * See Documentation/Licenses/GPLv3.txt for more information.
+ * Copyright (c) 2010-2016 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
*/
#pragma once
-#include <Swiften/Queries/GenericRequest.h>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/VCard.h>
-
+#include <Swiften/Queries/GenericRequest.h>
namespace Swift {
- class GetVCardRequest : public GenericRequest<VCard> {
- public:
- typedef boost::shared_ptr<GetVCardRequest> ref;
+ class SWIFTEN_API GetVCardRequest : public GenericRequest<VCard> {
+ public:
+ typedef std::shared_ptr<GetVCardRequest> ref;
- static ref create(const JID& jid, IQRouter* router) {
- return ref(new GetVCardRequest(jid, router));
- }
+ static ref create(const JID& jid, IQRouter* router) {
+ return ref(new GetVCardRequest(jid, router));
+ }
- private:
- GetVCardRequest(const JID& jid, IQRouter* router) : GenericRequest<VCard>(IQ::Get, jid, boost::shared_ptr<Payload>(new VCard()), router) {
- }
- };
+ private:
+ GetVCardRequest(const JID& jid, IQRouter* router) : GenericRequest<VCard>(IQ::Get, jid, std::make_shared<VCard>(), router) {
+ }
+ };
}