diff options
| author | Remko Tronçon <git@el-tramo.be> | 2009-11-24 21:56:19 (GMT) |
|---|---|---|
| committer | Remko Tronçon <git@el-tramo.be> | 2009-11-24 22:31:48 (GMT) |
| commit | 9b1e36b4fe08f32896e92abdb6fc7e3dad501160 (patch) | |
| tree | 092ba87f84238665b938198af29fc5894c55382a /Swiften/Client/DummyStanzaChannel.h | |
| parent | 48fc9e9fb0abd42d47a95042837a026730f20f34 (diff) | |
| download | swift-9b1e36b4fe08f32896e92abdb6fc7e3dad501160.zip swift-9b1e36b4fe08f32896e92abdb6fc7e3dad501160.tar.bz2 | |
Added PresenceSender object.
Diffstat (limited to 'Swiften/Client/DummyStanzaChannel.h')
| -rw-r--r-- | Swiften/Client/DummyStanzaChannel.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Swiften/Client/DummyStanzaChannel.h b/Swiften/Client/DummyStanzaChannel.h index 052c470..d618167 100644 --- a/Swiften/Client/DummyStanzaChannel.h +++ b/Swiften/Client/DummyStanzaChannel.h @@ -1,38 +1,38 @@ #pragma once #include <vector> #include "Swiften/Client/StanzaChannel.h" namespace Swift { class DummyStanzaChannel : public StanzaChannel { public: DummyStanzaChannel() {} virtual void sendStanza(boost::shared_ptr<Stanza> stanza) { - sentStanzas_.push_back(stanza); + sentStanzas.push_back(stanza); } virtual void sendIQ(boost::shared_ptr<IQ> iq) { - sentStanzas_.push_back(iq); + sentStanzas.push_back(iq); } virtual void sendMessage(boost::shared_ptr<Message> message) { - sentStanzas_.push_back(message); + sentStanzas.push_back(message); } virtual void sendPresence(boost::shared_ptr<Presence> presence) { - sentStanzas_.push_back(presence); + sentStanzas.push_back(presence); } virtual String getNewIQID() { return "test-id"; } virtual bool isAvailable() { return true; } - std::vector<boost::shared_ptr<Stanza> > sentStanzas_; + std::vector<boost::shared_ptr<Stanza> > sentStanzas; }; } |
Swift