diff options
Diffstat (limited to 'Swiften/ScreenSharing/ScreenSharingManagerImpl.h')
-rw-r--r-- | Swiften/ScreenSharing/ScreenSharingManagerImpl.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Swiften/ScreenSharing/ScreenSharingManagerImpl.h b/Swiften/ScreenSharing/ScreenSharingManagerImpl.h index 0075630..8e8ea78 100644 --- a/Swiften/ScreenSharing/ScreenSharingManagerImpl.h +++ b/Swiften/ScreenSharing/ScreenSharingManagerImpl.h @@ -16,16 +16,22 @@ namespace Swift { class IQRouter; class UDPSocketFactory; class TimerFactory; + class PresenceOracle; + class EntityCapsProvider; class ScreenSharingManagerImpl : public ScreenSharingManager { public: - ScreenSharingManagerImpl(const JID& ownFullJID, JingleSessionManager* jingleSessionManager, IQRouter *iqRouter, - UDPSocketFactory* udpSocketFactory, TimerFactory* timerFactory); + ScreenSharingManagerImpl(const JID& ownFullJID, JingleSessionManager* jingleSessionManager, IQRouter* iqRouter, + UDPSocketFactory* udpSocketFactory, TimerFactory* timerFactory, PresenceOracle* presenceOrable, + EntityCapsProvider *capsProvider); virtual ~ScreenSharingManagerImpl(); virtual boost::shared_ptr<OutgoingScreenSharing> createOutgoingScreenSharing(const JID& to); private: + boost::optional<JID> highestPriorityJIDSupportingScreenSharing(const JID &bareJID); + + private: IncomingScreenSharingManager* incomingSSManager; OutgoingScreenSharingManager* outgoingSSManager; @@ -35,5 +41,7 @@ namespace Swift { // IQRouter* iqRouter; // BoostUDPSocketFactory* udpSocketFactory; // TimerFactory* timerFactory; + EntityCapsProvider* capsProvider; + PresenceOracle* presenceOracle; }; } |