summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/SwiftenDevelopersGuide')
-rw-r--r--Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot5.cpp4
-rw-r--r--Documentation/SwiftenDevelopersGuide/SConscript3
2 files changed, 4 insertions, 3 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();
diff --git a/Documentation/SwiftenDevelopersGuide/SConscript b/Documentation/SwiftenDevelopersGuide/SConscript
index fb08a8f..dc00ab4 100644
--- a/Documentation/SwiftenDevelopersGuide/SConscript
+++ b/Documentation/SwiftenDevelopersGuide/SConscript
@@ -81,7 +81,8 @@ def generateDocBookCode(env, target, source) :
################################################################################
-env.DocBook("Swiften Developers Guide.xml")
+if "doc" in ARGUMENTS :
+ env.DocBook("Swiften Developers Guide.xml")
for i in range(1, 6) :
source = "Examples/EchoBot/EchoBot" + str(i) + ".cpp"