diff options
Diffstat (limited to 'Swiften/Queries/Request.h')
-rw-r--r-- | Swiften/Queries/Request.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Swiften/Queries/Request.h b/Swiften/Queries/Request.h index 1c972dc..8f7a1d1 100644 --- a/Swiften/Queries/Request.h +++ b/Swiften/Queries/Request.h @@ -20,10 +20,18 @@ namespace Swift { const JID& receiver, boost::shared_ptr<Payload> payload, IQRouter* router); + Request( + IQ::Type type, + const JID& receiver, + IQRouter* router); void send(); protected: + virtual void setPayload(boost::shared_ptr<Payload> p) { + payload_ = p; + } + virtual void handleResponse(boost::shared_ptr<Payload>, boost::optional<Error>) = 0; private: |