~robertcarr/mir/client-focus-notifications

« back to all changes in this revision

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

  • Committer: Robert Carr
  • Date: 2013-08-01 22:01:20 UTC
  • mfrom: (706.2.208 trunk)
  • Revision ID: robert.carr@canonical.com-20130801220120-6m230b3g6x0xflzd
Merge trunk

Show diffs side-by-side

added added

removed removed

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