/* * Copyright (c) 2010 Kevin Smith * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. */ #pragma once #include "Swiften/Base/boost_signalslib.h" #include #include "Swiften/Queries/Request.h" #include "Swiften/Elements/RosterPayload.h" namespace Swift { class SetRosterRequest : public Request { public: SetRosterRequest(boost::shared_ptr payload, IQRouter* router) : Request(IQ::Set, JID(), boost::shared_ptr(payload), router) { } virtual void handleResponse(boost::shared_ptr /*payload*/, boost::optional error) { onResponse(error); } public: boost::signal&)> onResponse; }; }