blob: 586cb0b3c098ed3e9a7c7f5f5e9afeb3e3f0b38d (
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
|
/*
* Copyright (c) 2012 Yoann Blein
* Licensed under the simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#pragma once
#include <Swiften/Jingle/IncomingJingleSessionHandler.h>
namespace Swift {
class IncomingScreenSharing;
class IQRouter;
class JingleSessionManager;
class UDPSocketFactory;
class TimerFactory;
class IncomingScreenSharingManager : public IncomingJingleSessionHandler {
public:
IncomingScreenSharingManager(JingleSessionManager* jingleSessionManager, IQRouter* iqRouter, UDPSocketFactory* udpSocketFactory, TimerFactory* timerFactory);
virtual ~IncomingScreenSharingManager();
public:
boost::signal<void (boost::shared_ptr<IncomingScreenSharing>)> onIncomingScreenSharing;
private:
bool handleIncomingJingleSession(JingleSession::ref session, const std::vector<JingleContentPayload::ref>& contents, const JID& /*recipient*/);
private:
JingleSessionManager* jingleSessionManager;
IQRouter* iqRouter;
UDPSocketFactory *udpSocketFactory;
TimerFactory* timerFactory;
};
}
|