blob: ad5871d5ce1074a741e0ae5f6da19e5e6b8a0516 (
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
|
/*
* Copyright (c) 2012 Yoann Blein
* Licensed under the simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#pragma once
#include <boost/shared_ptr.hpp>
#include <vector>
#include "ScreenSharingOverview.h"
namespace Swift {
class ScreenSharingManager;
class IncomingScreenSharing;
class TimerFactory;
class DesktopScreenGrabber;
class RemoteScreenWindowFactory;
class ScreenSharingOverviewImpl : public ScreenSharingOverview {
public:
ScreenSharingOverviewImpl(ScreenSharingManager* screenSharingManager, RemoteScreenWindowFactory* remoteScreenWindowFactory, TimerFactory* timerFactory);
virtual ~ScreenSharingOverviewImpl();
virtual void createOugoingScreenSharing(const JID& to);
private:
void handleIncomingScreenSharing(boost::shared_ptr<IncomingScreenSharing> incomingScreenSharing);
private:
ScreenSharingManager* screenSharingManager;
RemoteScreenWindowFactory* remoteScreenWindowFactory;
TimerFactory* timerFactory;
DesktopScreenGrabber* screenGrabber;
std::vector<ScreenSharingController*> controllers;
};
}
|