/* * Copyright (c) 2010 Remko Tronçon * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. */ #ifndef SWIFTEN_DummyIQChannel_H #define SWIFTEN_DummyIQChannel_H #include #include "Swiften/Queries/IQChannel.h" namespace Swift { class DummyIQChannel : public IQChannel { public: DummyIQChannel() {} virtual void sendIQ(boost::shared_ptr iq) { iqs_.push_back(iq); } virtual String getNewIQID() { return "test-id"; } virtual bool isAvailable() { return true; } std::vector > iqs_; }; } #endif