diff options
Diffstat (limited to 'Swiften/ScreenSharing/OutgoingScreenSharingManager.h')
-rw-r--r-- | Swiften/ScreenSharing/OutgoingScreenSharingManager.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Swiften/ScreenSharing/OutgoingScreenSharingManager.h b/Swiften/ScreenSharing/OutgoingScreenSharingManager.h new file mode 100644 index 0000000..de21d5a --- /dev/null +++ b/Swiften/ScreenSharing/OutgoingScreenSharingManager.h @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2012 Yoann Blein + * Licensed under the simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. + */ + +#pragma once + +#include <Swiften/JID/JID.h> +#include <boost/shared_ptr.hpp> +#include <Swiften/Base/IDGenerator.h> + +namespace Swift { + class OutgoingScreenSharing; + class JingleSessionManager; + class IQRouter; + class UDPSocketFactory; + class TimerFactory; + + class OutgoingScreenSharingManager { + public: + OutgoingScreenSharingManager(JingleSessionManager* jingleSessionManager, IQRouter* router, + UDPSocketFactory* udpSocketFactory, TimerFactory* timerFactory); + + boost::shared_ptr<OutgoingScreenSharing> createOutgoingScreenSharing(const JID& from, const JID& to); + + private: + IDGenerator idGenerator; + + JingleSessionManager* jsManager; + IQRouter* iqRouter; + UDPSocketFactory *udpSocketFactory; + TimerFactory* timerFactory; + }; +} |