summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordknn <yoann.blein@free.fr>2012-07-11 16:06:01 (GMT)
committerdknn <yoann.blein@free.fr>2012-09-22 09:01:48 (GMT)
commit6d458439d9536be1736ba1a98c51040b64946284 (patch)
tree74894bc65dce3db5ccaf822f9769d3efd1e0dd6e /Swiften/ScreenSharing/ScreenSharingManagerImpl.h
parent79ee86a4deeb29c1be6d6838e54aae32d4c3e1ec (diff)
downloadswift-contrib-6d458439d9536be1736ba1a98c51040b64946284.zip
swift-contrib-6d458439d9536be1736ba1a98c51040b64946284.tar.bz2
Add disco for RTP + bugfix
Diffstat (limited to 'Swiften/ScreenSharing/ScreenSharingManagerImpl.h')
-rw-r--r--Swiften/ScreenSharing/ScreenSharingManagerImpl.h12
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;
};
}