diff options
Diffstat (limited to 'Swiften/FileTransfer/JingleFileTransfer.h')
-rw-r--r-- | Swiften/FileTransfer/JingleFileTransfer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Swiften/FileTransfer/JingleFileTransfer.h b/Swiften/FileTransfer/JingleFileTransfer.h index aabeec2..16a55c6 100644 --- a/Swiften/FileTransfer/JingleFileTransfer.h +++ b/Swiften/FileTransfer/JingleFileTransfer.h @@ -3,16 +3,17 @@ * All rights reserved. * See the COPYING file for more information. */ #pragma once -#include <Swiften/Base/API.h> +#include <vector> #include <boost/shared_ptr.hpp> -#include <vector> + +#include <Swiften/Base/API.h> #include <Swiften/Base/boost_bsignals.h> #include <Swiften/Elements/ErrorPayload.h> #include <Swiften/Elements/JingleS5BTransportPayload.h> #include <Swiften/FileTransfer/FileTransfer.h> #include <Swiften/Jingle/AbstractJingleSessionListener.h> #include <Swiften/Jingle/JingleContentID.h> @@ -61,12 +62,13 @@ namespace Swift { virtual void startTransferViaRemoteCandidate() = 0; protected: typedef std::map<std::string, JingleS5BTransportPayload::Candidate> CandidateMap; void setTransporter(FileTransferTransporter* transporter); + void removeTransporter(); void fillCandidateMap( CandidateMap& map, const std::vector<JingleS5BTransportPayload::Candidate>&); const JID& getInitiator() const; const JID& getResponder() const; |