diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-06-12 08:01:09 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-06-12 08:04:51 (GMT) |
commit | c12c34c5487c2efdd5b6a91ec7f17d5911c20206 (patch) | |
tree | 328f073630e1dddf9421187ab3d27a2a0fad0f70 /Swiften/Queries/Responders/SoftwareVersionResponder.cpp | |
parent | 3260f09c55a6f06d9c3ac10f2eddbda68d94de4d (diff) | |
download | swift-contrib-c12c34c5487c2efdd5b6a91ec7f17d5911c20206.zip swift-contrib-c12c34c5487c2efdd5b6a91ec7f17d5911c20206.tar.bz2 |
Split up responder into GetResponder and SetResponder.
Diffstat (limited to 'Swiften/Queries/Responders/SoftwareVersionResponder.cpp')
-rw-r--r-- | Swiften/Queries/Responders/SoftwareVersionResponder.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Swiften/Queries/Responders/SoftwareVersionResponder.cpp b/Swiften/Queries/Responders/SoftwareVersionResponder.cpp index dad2442..e608f24 100644 --- a/Swiften/Queries/Responders/SoftwareVersionResponder.cpp +++ b/Swiften/Queries/Responders/SoftwareVersionResponder.cpp @@ -5,7 +5,7 @@ namespace Swift { SoftwareVersionResponder::SoftwareVersionResponder( const String& client, const String& version, IQRouter* router) : - Responder<SoftwareVersion>(router), client_(client), version_(version) { + GetResponder<SoftwareVersion>(router), client_(client), version_(version) { } bool SoftwareVersionResponder::handleGetRequest(const JID& from, const String& id, boost::shared_ptr<SoftwareVersion>) { @@ -13,8 +13,4 @@ bool SoftwareVersionResponder::handleGetRequest(const JID& from, const String& i return true; } -bool SoftwareVersionResponder::handleSetRequest(const JID&, const String&, boost::shared_ptr<SoftwareVersion>) { - return false; -} - } |