diff options
Diffstat (limited to 'Swiften/FileTransfer/IBBReceiveSession.h')
| -rw-r--r-- | Swiften/FileTransfer/IBBReceiveSession.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Swiften/FileTransfer/IBBReceiveSession.h b/Swiften/FileTransfer/IBBReceiveSession.h index d1c47bf..23d9648 100644 --- a/Swiften/FileTransfer/IBBReceiveSession.h +++ b/Swiften/FileTransfer/IBBReceiveSession.h @@ -10,4 +10,5 @@ #include <boost/optional/optional_fwd.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Base/boost_bsignals.h> #include <Swiften/FileTransfer/WriteBytestream.h> @@ -19,5 +20,5 @@ namespace Swift { class IQRouter; - class IBBReceiveSession { + class SWIFTEN_API IBBReceiveSession { public: IBBReceiveSession( @@ -25,5 +26,6 @@ namespace Swift { const JID& from, const JID& to, - size_t size, + unsigned long long size, + boost::shared_ptr<WriteBytestream> bytestream, IQRouter* router); ~IBBReceiveSession(); @@ -40,5 +42,4 @@ namespace Swift { } - boost::signal<void (const std::vector<unsigned char>&)> onDataReceived; boost::signal<void (boost::optional<FileTransferError>)> onFinished; @@ -54,5 +55,6 @@ namespace Swift { JID from; JID to; - size_t size; + unsigned long long size; + boost::shared_ptr<WriteBytestream> bytestream; IQRouter* router; IBBResponder* responder; |
Swift