diff options
Diffstat (limited to 'Swiften/Queries/DummyIQChannel.h')
-rw-r--r-- | Swiften/Queries/DummyIQChannel.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/Swiften/Queries/DummyIQChannel.h b/Swiften/Queries/DummyIQChannel.h index 6adcdb1..5ec68ca 100644 --- a/Swiften/Queries/DummyIQChannel.h +++ b/Swiften/Queries/DummyIQChannel.h @@ -1,7 +1,7 @@ /* - * Copyright (c) 2010 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. + * Copyright (c) 2010-2016 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. */ #pragma once @@ -11,22 +11,22 @@ #include <Swiften/Queries/IQChannel.h> namespace Swift { - class DummyIQChannel : public IQChannel { - public: - DummyIQChannel() {} + class DummyIQChannel : public IQChannel { + public: + DummyIQChannel() {} - virtual void sendIQ(boost::shared_ptr<IQ> iq) { - iqs_.push_back(iq); - } + virtual void sendIQ(std::shared_ptr<IQ> iq) { + iqs_.push_back(iq); + } - virtual std::string getNewIQID() { - return "test-id"; - } + virtual std::string getNewIQID() { + return "test-id"; + } - virtual bool isAvailable() const { - return true; - } + virtual bool isAvailable() const { + return true; + } - std::vector<boost::shared_ptr<IQ> > iqs_; - }; + std::vector<std::shared_ptr<IQ> > iqs_; + }; } |