diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-04 15:40:40 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-04 15:40:40 (GMT) |
commit | bf5b66e7a8252fd1d9db26f5822c393e24ad091a (patch) | |
tree | a3dfe81e4bacd9d45fef5183da38b28854e62b0b /Documentation/SwiftenDevelopersGuide/Examples | |
parent | bbf8a5fcb47d649bdcee1b2122eaa76f2c914ef7 (diff) | |
download | swift-bf5b66e7a8252fd1d9db26f5822c393e24ad091a.zip swift-bf5b66e7a8252fd1d9db26f5822c393e24ad091a.tar.bz2 |
Document custom requests & responders, and components.
Diffstat (limited to 'Documentation/SwiftenDevelopersGuide/Examples')
-rw-r--r-- | Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoComponent.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoComponent.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoComponent.cpp index a4155be..4843b80 100644 --- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoComponent.cpp +++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoComponent.cpp @@ -15,7 +15,8 @@ using namespace boost; class EchoComponent { public: EchoComponent(EventLoop* eventLoop, NetworkFactories* networkFactories) { - component = new Component(eventLoop, networkFactories, JID("echo.wonderland.lit"), "EchoSecret"); + component = new Component(eventLoop, networkFactories, + JID("echo.wonderland.lit"), "EchoSecret"); component->onConnected.connect(bind(&EchoComponent::handleConnected, this)); component->onMessageReceived.connect( bind(&EchoComponent::handleMessageReceived, this, _1)); |