diff options
Diffstat (limited to 'Swiften/FileTransfer/IBBReceiveTransportSession.cpp')
-rw-r--r-- | Swiften/FileTransfer/IBBReceiveTransportSession.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Swiften/FileTransfer/IBBReceiveTransportSession.cpp b/Swiften/FileTransfer/IBBReceiveTransportSession.cpp new file mode 100644 index 0000000..4464946 --- /dev/null +++ b/Swiften/FileTransfer/IBBReceiveTransportSession.cpp @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2015 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. + */ + +#include <boost/bind.hpp> + +#include <Swiften/FileTransfer/IBBReceiveTransportSession.h> + +namespace Swift { + +IBBReceiveTransportSession::IBBReceiveTransportSession(boost::shared_ptr<IBBReceiveSession> session) : session(session) { + finishedConnection = session->onFinished.connect(boost::bind(boost::ref(onFinished), _1)); +} + +IBBReceiveTransportSession::~IBBReceiveTransportSession() { +} + +void IBBReceiveTransportSession::start() { + session->start(); +} + +void IBBReceiveTransportSession::stop() { + session->stop(); +} + +} |