/* * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include #include #include namespace Swift { class SWIFTEN_API SetVCardRequest : public GenericRequest { public: typedef std::shared_ptr ref; static ref create(VCard::ref vcard, IQRouter* router) { return ref(new SetVCardRequest(vcard, router)); } private: SetVCardRequest(VCard::ref vcard, IQRouter* router) : GenericRequest(IQ::Set, JID(), vcard, router) { } }; }