diff options
Diffstat (limited to 'Swiften/FileTransfer/FileTransferTransporterFactory.h')
-rw-r--r-- | Swiften/FileTransfer/FileTransferTransporterFactory.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Swiften/FileTransfer/FileTransferTransporterFactory.h b/Swiften/FileTransfer/FileTransferTransporterFactory.h index 8b213b4..a1af4af 100644 --- a/Swiften/FileTransfer/FileTransferTransporterFactory.h +++ b/Swiften/FileTransfer/FileTransferTransporterFactory.h @@ -1,8 +1,8 @@ /* - * Copyright (c) 2013 Isode Limited. + * Copyright (c) 2013-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once @@ -10,20 +10,23 @@ #include <Swiften/Base/API.h> namespace Swift { class JID; class FileTransferTransporter; + class FileTransferOptions; class SWIFTEN_API FileTransferTransporterFactory { public: virtual ~FileTransferTransporterFactory(); virtual FileTransferTransporter* createInitiatorTransporter( const JID& initiator, - const JID& responder) = 0; + const JID& responder, + const FileTransferOptions& options) = 0; virtual FileTransferTransporter* createResponderTransporter( const JID& initiator, const JID& responder, - const std::string& s5bSessionID) = 0; + const std::string& s5bSessionID, + const FileTransferOptions& options) = 0; }; } |