blob: a9850fdfb4e32af65a54f4529e40142f04c55d7a (
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/ScreenSharing/ScreenSharing.h>
#include <Swiften/Jingle/JingleContentID.h>
namespace Swift {
class JingleContentPayload;
class IncomingScreenSharing : public ScreenSharing
{
public:
typedef boost::shared_ptr<IncomingScreenSharing> ref;
public:
IncomingScreenSharing(boost::shared_ptr<JingleSession> session, UDPSocketFactory* udpSocketFactory,
boost::shared_ptr<JingleContentPayload> content);
virtual ~IncomingScreenSharing();
virtual void cancel();
void accept();
private:
JingleContentID getContentID() const;
private:
boost::shared_ptr<JingleContentPayload> initialContent;
};
}
|