/* * 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 GetInBandRegistrationFormRequest : public GenericRequest { public: typedef std::shared_ptr ref; static ref create(const JID& to, IQRouter* router) { return ref(new GetInBandRegistrationFormRequest(to, router)); } private: GetInBandRegistrationFormRequest(const JID& to, IQRouter* router) : GenericRequest(IQ::Get, to, InBandRegistrationPayload::ref(new InBandRegistrationPayload()), router) { } }; }