00001 /* 00002 * Copyright (c) 2010 Remko Tronçon 00003 * Licensed under the GNU General Public License v3. 00004 * See Documentation/Licenses/GPLv3.txt for more information. 00005 */ 00006 00007 #pragma once 00008 00009 #include <Swiften/Base/API.h> 00010 #include <Swiften/Queries/Responder.h> 00011 00012 namespace Swift { 00013 template<typename T> 00014 class SWIFTEN_API GetResponder : public Responder<T> { 00015 public: 00016 GetResponder(IQRouter* router) : Responder<T>(router) {} 00017 00018 private: 00019 virtual bool handleSetRequest(const JID&, const JID&, const std::string&, boost::shared_ptr<T>) { return false; } 00020 }; 00021 }