diff options
| author | Remko Tronçon <git@el-tramo.be> | 2011-05-01 09:13:23 (GMT) |
|---|---|---|
| committer | Remko Tronçon <git@el-tramo.be> | 2011-05-01 09:13:23 (GMT) |
| commit | d94737ef177524014fbf9b1ee2b446825536514b (patch) | |
| tree | 004df9a022c7c42cad39162ffa84537b63c1953d /Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot3.cpp | |
| parent | 4091acca56c189a350e195450272ec4471ba91cd (diff) | |
| download | swift-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/EchoBot3.cpp')
| -rw-r--r-- | Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot3.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot3.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot3.cpp index cd95b91..e3e3560 100644 --- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot3.cpp +++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot3.cpp @@ -16,6 +16,7 @@ class EchoBot { public: 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)); |
Swift