blob: 8e8ea78ee4256321c91008baaa1d41fc9af24457 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
/*
* Copyright (c) 2012 Yoann Blein
* Licensed under the simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#pragma once
#include <Swiften/ScreenSharing/ScreenSharingManager.h>
#include <Swiften/JID/JID.h>
namespace Swift {
class IncomingScreenSharingManager;
class OutgoingScreenSharingManager;
class JingleSessionManager;
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, 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;
JID ownJID;
// JingleSessionManager* jingleSM;
// IQRouter* iqRouter;
// BoostUDPSocketFactory* udpSocketFactory;
// TimerFactory* timerFactory;
EntityCapsProvider* capsProvider;
PresenceOracle* presenceOracle;
};
}
|