diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-10 13:38:19 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-10 13:38:19 (GMT) |
commit | 5fcadd4e60d2e8bd8866bddef6bcefa59a18adf8 (patch) | |
tree | 198eafdec1dce1b7dc6ce21fbbd86bebbd4098cb /Documentation/SwiftenDevelopersGuide/Examples | |
parent | 29e4e51e21b8902c82456cc85af46fa5f5889f04 (diff) | |
download | swift-5fcadd4e60d2e8bd8866bddef6bcefa59a18adf8.zip swift-5fcadd4e60d2e8bd8866bddef6bcefa59a18adf8.tar.bz2 |
Move SoftwareVersionResponder constructor arguments to setter.
Diffstat (limited to 'Documentation/SwiftenDevelopersGuide/Examples')
-rw-r--r-- | Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot5.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot5.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot5.cpp index 98a63d6..d675062 100644 --- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot5.cpp +++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot5.cpp @@ -25,8 +25,8 @@ class EchoBot { bind(&EchoBot::handlePresenceReceived, this, _1)); tracer = new ClientXMLTracer(client); //... - softwareVersionResponder = new SoftwareVersionResponder( - "EchoBot", "1.0", client->getIQRouter()); + softwareVersionResponder = new SoftwareVersionResponder(client->getIQRouter()); + softwareVersionResponder->setVersion("EchoBot", "1.0"); softwareVersionResponder->start(); //... client->connect(); |