diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-02-02 21:11:47 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-02-02 21:11:47 (GMT) |
commit | e9939e9958b0dae2dc6d2211b52dca5058869418 (patch) | |
tree | 57ab81b84f28f00531a29a5c2d1a0baba172dd1f /Swiften/Examples/SendFile | |
parent | b66315290cf80b090f1b66eef021c811d1ea0b74 (diff) | |
download | swift-contrib-e9939e9958b0dae2dc6d2211b52dca5058869418.zip swift-contrib-e9939e9958b0dae2dc6d2211b52dca5058869418.tar.bz2 |
Removing unused parameter from Client constructor.
Diffstat (limited to 'Swiften/Examples/SendFile')
-rw-r--r-- | Swiften/Examples/SendFile/ReceiveFile.cpp | 2 | ||||
-rw-r--r-- | Swiften/Examples/SendFile/SendFile.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Examples/SendFile/ReceiveFile.cpp b/Swiften/Examples/SendFile/ReceiveFile.cpp index a6386cd..278cc3e 100644 --- a/Swiften/Examples/SendFile/ReceiveFile.cpp +++ b/Swiften/Examples/SendFile/ReceiveFile.cpp @@ -26,7 +26,7 @@ int exitCode = 2; class FileReceiver { public: FileReceiver(const JID& jid, const String& password) : jid(jid), password(password), jingleSessionManager(NULL), incomingFileTransferManager(NULL) { - client = new Swift::Client(&eventLoop, &networkFactories, jid, password); + client = new Swift::Client(jid, password, &networkFactories); client->onConnected.connect(boost::bind(&FileReceiver::handleConnected, this)); client->onDisconnected.connect(boost::bind(&FileReceiver::handleDisconnected, this, _1)); //tracer = new ClientXMLTracer(client); diff --git a/Swiften/Examples/SendFile/SendFile.cpp b/Swiften/Examples/SendFile/SendFile.cpp index c355ce7..b2db22b 100644 --- a/Swiften/Examples/SendFile/SendFile.cpp +++ b/Swiften/Examples/SendFile/SendFile.cpp @@ -32,7 +32,7 @@ class FileSender { connectionServer = BoostConnectionServer::create(port, networkFactories.getIOServiceThread()->getIOService(), &eventLoop); socksBytestreamServer = new SOCKS5BytestreamServer(connectionServer); - client = new Swift::Client(&eventLoop, &networkFactories, jid, password); + client = new Swift::Client(jid, password, &networkFactories); client->onConnected.connect(boost::bind(&FileSender::handleConnected, this)); client->onDisconnected.connect(boost::bind(&FileSender::handleDisconnected, this, _1)); //tracer = new ClientXMLTracer(client); |