summaryrefslogtreecommitdiffstats
blob: 007563000f5b3f03356ace9ee32f9efc403b2400 (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
/*
 * 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 ScreenSharingManagerImpl : public ScreenSharingManager {
		public:
			ScreenSharingManagerImpl(const JID& ownFullJID, JingleSessionManager* jingleSessionManager, IQRouter *iqRouter,
									 UDPSocketFactory* udpSocketFactory, TimerFactory* timerFactory);
			virtual ~ScreenSharingManagerImpl();

			virtual boost::shared_ptr<OutgoingScreenSharing> createOutgoingScreenSharing(const JID& to);

		private:
			IncomingScreenSharingManager* incomingSSManager;
			OutgoingScreenSharingManager* outgoingSSManager;

			JID ownJID;

//			JingleSessionManager* jingleSM;
//			IQRouter* iqRouter;
//			BoostUDPSocketFactory* udpSocketFactory;
//			TimerFactory* timerFactory;
	};
}