diff options
Diffstat (limited to 'Swiften/FileTransfer/IncomingFileTransferManager.h')
-rw-r--r-- | Swiften/FileTransfer/IncomingFileTransferManager.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/Swiften/FileTransfer/IncomingFileTransferManager.h b/Swiften/FileTransfer/IncomingFileTransferManager.h index 41499e5..a54b5cd 100644 --- a/Swiften/FileTransfer/IncomingFileTransferManager.h +++ b/Swiften/FileTransfer/IncomingFileTransferManager.h @@ -8,11 +8,26 @@ #include <boost/shared_ptr.hpp> -#include "Swiften/Base/boost_bsignals.h" +#include <Swiften/Base/boost_bsignals.h> +#include <Swiften/FileTransfer/IncomingFileTransfer.h> +#include <Swiften/Jingle/IncomingJingleSessionHandler.h> namespace Swift { - class IncomingFileTransferManager { + class IQRouter; + class JingleSessionManager; + + class IncomingFileTransferManager : public IncomingJingleSessionHandler { public: + IncomingFileTransferManager(JingleSessionManager* jingleSessionManager, IQRouter* router); + ~IncomingFileTransferManager(); + boost::signal<void (IncomingFileTransfer::ref)> onIncomingFileTransfer; + + private: + bool handleIncomingJingleSession(IncomingJingleSession::ref session); + + private: + JingleSessionManager* jingleSessionManager; + IQRouter* router; }; } |