~alan-griffiths/mir/0.21-hacks

« back to all changes in this revision

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

  • Committer: Daniel van Vugt
  • Date: 2013-04-24 05:22:20 UTC
  • mfrom: (628 trunk)
  • mto: This revision was merged to the branch mainline in revision 629.
  • Revision ID: daniel.van.vugt@canonical.com-20130424052220-qhpyhw2resxzr7bq
MergeĀ latestĀ lp:mir

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
namespace mir
27
27
{
 
28
class EventSink;
28
29
 
29
30
namespace shell
30
31
{
54
55
 
55
56
    int configure_surface(frontend::SurfaceId id, MirSurfaceAttrib attrib, int value);
56
57
 
 
58
    void set_event_sink(std::shared_ptr<mir::EventSink> const& sink);
 
59
 
57
60
protected:
58
61
    ApplicationSession(ApplicationSession const&) = delete;
59
62
    ApplicationSession& operator=(ApplicationSession const&) = delete;
71
74
    Surfaces::const_iterator checked_find(frontend::SurfaceId id) const;
72
75
    std::mutex mutable surfaces_mutex;
73
76
    Surfaces surfaces;
 
77
 
 
78
    std::shared_ptr<EventSink> event_sink;
74
79
};
75
80
 
76
81
}