summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-05-01 09:13:23 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-05-01 09:13:23 (GMT)
commitd94737ef177524014fbf9b1ee2b446825536514b (patch)
tree004df9a022c7c42cad39162ffa84537b63c1953d /Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot6.cpp
parent4091acca56c189a350e195450272ec4471ba91cd (diff)
downloadswift-d94737ef177524014fbf9b1ee2b446825536514b.zip
swift-d94737ef177524014fbf9b1ee2b446825536514b.tar.bz2
Updated Swiften developers guide.
Added call to setAlwaysTrustCertificates in examples. Added C++0x example.
Diffstat (limited to 'Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot6.cpp')
-rw-r--r--Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot6.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot6.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot6.cpp
index d3587e9..92a2ab6 100644
--- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot6.cpp
+++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot6.cpp
@@ -23,6 +23,7 @@ class EchoBot {
EchoBot(NetworkFactories* networkFactories) {
//...
client = new Client("echobot@wonderland.lit", "mypass", networkFactories);
+ client->setAlwaysTrustCertificates();
client->onConnected.connect(bind(&EchoBot::handleConnected, this));
client->onMessageReceived.connect(
bind(&EchoBot::handleMessageReceived, this, _1));