summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/FileTransfer')
-rw-r--r--Swiften/FileTransfer/FileTransferTransporter.h2
-rw-r--r--Swiften/FileTransfer/IBBReceiveSession.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/FileTransfer/FileTransferTransporter.h b/Swiften/FileTransfer/FileTransferTransporter.h
index 5af830c..e0ffc87 100644
--- a/Swiften/FileTransfer/FileTransferTransporter.h
+++ b/Swiften/FileTransfer/FileTransferTransporter.h
@@ -1,41 +1,41 @@
/*
* Copyright (c) 2013-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
#include <vector>
-#include <boost/optional/optional_fwd.hpp>
+#include <boost/optional/optional.hpp>
#include <boost/signals2.hpp>
#include <Swiften/Base/API.h>
#include <Swiften/Elements/JingleS5BTransportPayload.h>
namespace Swift {
class TransportSession;
class ErrorPayload;
class ReadBytestream;
class WriteBytestream;
/**
* @brief The FileTransferTransporter class is an abstract factory definition
* to generate SOCKS5 bytestream transports or IBB bytestreams for use in file
* transfers.
*/
class SWIFTEN_API FileTransferTransporter {
public:
virtual ~FileTransferTransporter();
virtual void startGeneratingLocalCandidates() = 0;
virtual void stopGeneratingLocalCandidates() = 0;
virtual void addRemoteCandidates(
const std::vector<JingleS5BTransportPayload::Candidate>&, const std::string&) = 0;
virtual void startTryingRemoteCandidates() = 0;
virtual void stopTryingRemoteCandidates() = 0;
virtual void startActivatingProxy(const JID& proxy) = 0;
virtual void stopActivatingProxy() = 0;
diff --git a/Swiften/FileTransfer/IBBReceiveSession.h b/Swiften/FileTransfer/IBBReceiveSession.h
index 11dfb63..797394c 100644
--- a/Swiften/FileTransfer/IBBReceiveSession.h
+++ b/Swiften/FileTransfer/IBBReceiveSession.h
@@ -1,41 +1,41 @@
/*
* Copyright (c) 2010-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
#include <memory>
-#include <boost/optional/optional_fwd.hpp>
+#include <boost/optional/optional.hpp>
#include <boost/signals2.hpp>
#include <Swiften/Base/API.h>
#include <Swiften/Elements/IBB.h>
#include <Swiften/FileTransfer/FileTransferError.h>
#include <Swiften/FileTransfer/WriteBytestream.h>
#include <Swiften/JID/JID.h>
namespace Swift {
class IQRouter;
class SWIFTEN_API IBBReceiveSession {
public:
IBBReceiveSession(
const std::string& id,
const JID& from,
const JID& to,
unsigned long long size,
std::shared_ptr<WriteBytestream> bytestream,
IQRouter* router);
~IBBReceiveSession();
void start();
void stop();
const JID& getSender() const {
return from;
}
const JID& getReceiver() const {