~mir-team/mir/trunk

« back to all changes in this revision

Viewing changes to include/server/mir/frontend/shell.h

  • Committer: Tarmac
  • Author(s): Alan Griffiths
  • Date: 2013-04-25 23:50:01 UTC
  • mfrom: (526.2.22 mir1)
  • Revision ID: tarmac-20130425235001-c3b3x2yyb3eldyx1
frontend, shell, tests: surface-states updated to avoid supplying dependencies through public member functions.

Approved by PS Jenkins bot, Chris Halse Rogers, Robert Ancell, Kevin DuBois.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
namespace mir
26
26
{
27
 
 
 
27
namespace events
 
28
{
 
29
class EventSink;
 
30
}
28
31
namespace frontend
29
32
{
30
33
class Session;
35
38
public:
36
39
    virtual ~Shell() {}
37
40
 
38
 
    virtual std::shared_ptr<Session> open_session(std::string const& name) = 0;
 
41
    virtual std::shared_ptr<Session> open_session(std::string const& name, std::shared_ptr<events::EventSink> const& sink) = 0;
39
42
    virtual void close_session(std::shared_ptr<Session> const& session)  = 0;
40
43
 
41
44
    virtual void tag_session_with_lightdm_id(std::shared_ptr<Session> const& session, int id) = 0;