/* * Copyright (c) 2012 Yoann Blein * Licensed under the simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #pragma once #include #include namespace Swift { class JingleContentPayload; class IncomingScreenSharing : public ScreenSharing { public: typedef boost::shared_ptr ref; public: IncomingScreenSharing(boost::shared_ptr session, UDPSocketFactory* udpSocketFactory, boost::shared_ptr content); virtual ~IncomingScreenSharing(); virtual void cancel(); void accept(); private: JingleContentID getContentID() const; private: boost::shared_ptr initialContent; }; }