diff options
Diffstat (limited to 'Swiften/Queries/DummyIQChannel.h')
-rw-r--r-- | Swiften/Queries/DummyIQChannel.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Swiften/Queries/DummyIQChannel.h b/Swiften/Queries/DummyIQChannel.h index 11cc3dc..5ec68ca 100644 --- a/Swiften/Queries/DummyIQChannel.h +++ b/Swiften/Queries/DummyIQChannel.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -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_; + }; } |