diff options
Diffstat (limited to 'Swiften/FileTransfer/StreamInitiationRequest.h')
-rw-r--r-- | Swiften/FileTransfer/StreamInitiationRequest.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Swiften/FileTransfer/StreamInitiationRequest.h b/Swiften/FileTransfer/StreamInitiationRequest.h index 64f51f2..f516d4b 100644 --- a/Swiften/FileTransfer/StreamInitiationRequest.h +++ b/Swiften/FileTransfer/StreamInitiationRequest.h @@ -8,11 +8,13 @@ #include "Swiften/Queries/GenericRequest.h" #include "Swiften/Elements/StreamInitiation.h" -#include "Swiften/Base/Shared.h" + namespace Swift { - class StreamInitiationRequest : public GenericRequest<StreamInitiation>, public Shared<StreamInitiationRequest> { + class StreamInitiationRequest : public GenericRequest<StreamInitiation> { public: + typedef boost::shared_ptr<StreamInitiationRequest> ref; + static ref create(const JID& jid, boost::shared_ptr<StreamInitiation> payload, IQRouter* router) { return ref(new StreamInitiationRequest(jid, payload, router)); } |