diff options
Diffstat (limited to 'Swiften/Queries/Responders/SoftwareVersionResponder.h')
-rw-r--r-- | Swiften/Queries/Responders/SoftwareVersionResponder.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Swiften/Queries/Responders/SoftwareVersionResponder.h b/Swiften/Queries/Responders/SoftwareVersionResponder.h index d66e168..85d1089 100644 --- a/Swiften/Queries/Responders/SoftwareVersionResponder.h +++ b/Swiften/Queries/Responders/SoftwareVersionResponder.h @@ -1,19 +1,18 @@ #ifndef SWIFTEN_SoftwareVersionResponder_H #define SWIFTEN_SoftwareVersionResponder_H -#include "Swiften/Queries/Responder.h" +#include "Swiften/Queries/GetResponder.h" #include "Swiften/Elements/SoftwareVersion.h" namespace Swift { class IQRouter; - class SoftwareVersionResponder : public Responder<SoftwareVersion> { + class SoftwareVersionResponder : public GetResponder<SoftwareVersion> { public: SoftwareVersionResponder(const String& client, const String& version, IQRouter* router); private: virtual bool handleGetRequest(const JID& from, const String& id, boost::shared_ptr<SoftwareVersion> payload); - virtual bool handleSetRequest(const JID& from, const String& id, boost::shared_ptr<SoftwareVersion> payload); private: String client_; |