diff options
Diffstat (limited to 'Swiften/Roster/GetRosterRequest.h')
-rw-r--r-- | Swiften/Roster/GetRosterRequest.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/Swiften/Roster/GetRosterRequest.h b/Swiften/Roster/GetRosterRequest.h index 05863d3..6ca16cb 100644 --- a/Swiften/Roster/GetRosterRequest.h +++ b/Swiften/Roster/GetRosterRequest.h @@ -11,23 +11,23 @@ #include <Swiften/Queries/GenericRequest.h> namespace Swift { - class SWIFTEN_API GetRosterRequest : public GenericRequest<RosterPayload> { - public: - typedef boost::shared_ptr<GetRosterRequest> ref; + class SWIFTEN_API GetRosterRequest : public GenericRequest<RosterPayload> { + public: + typedef boost::shared_ptr<GetRosterRequest> ref; - static ref create(IQRouter* router) { - return ref(new GetRosterRequest(router)); - } + static ref create(IQRouter* router) { + return ref(new GetRosterRequest(router)); + } - static ref create(IQRouter* router, const std::string& version) { - ref result(new GetRosterRequest(router)); - result->getPayloadGeneric()->setVersion(version); - return result; - } + static ref create(IQRouter* router, const std::string& version) { + ref result(new GetRosterRequest(router)); + result->getPayloadGeneric()->setVersion(version); + return result; + } - private: - GetRosterRequest(IQRouter* router) : - GenericRequest<RosterPayload>(IQ::Get, JID(), boost::shared_ptr<Payload>(new RosterPayload()), router) { - } - }; + private: + GetRosterRequest(IQRouter* router) : + GenericRequest<RosterPayload>(IQ::Get, JID(), boost::shared_ptr<Payload>(new RosterPayload()), router) { + } + }; } |