19 #ifndef MIR_SCENE_APPLICATION_MANAGER_H_ 20 #define MIR_SCENE_APPLICATION_MANAGER_H_ 31 class DisplayConfiguration;
35 namespace shell {
class SurfaceStack; }
39 class SessionContainer;
40 class SessionEventSink;
41 class SessionListener;
42 class SnapshotStrategy;
44 class PromptSessionManager;
45 class BufferStreamFactory;
47 class ApplicationNotRespondingDetector;
53 std::shared_ptr<shell::SurfaceStack>
const& surface_stack,
54 std::shared_ptr<SurfaceFactory>
const& surface_factory,
55 std::shared_ptr<BufferStreamFactory>
const& buffer_stream_factory,
56 std::shared_ptr<SessionContainer>
const& app_container,
57 std::shared_ptr<SnapshotStrategy>
const& snapshot_strategy,
58 std::shared_ptr<SessionEventSink>
const& session_event_sink,
59 std::shared_ptr<SessionListener>
const& session_listener,
60 std::shared_ptr<graphics::Display const>
const& display,
61 std::shared_ptr<ApplicationNotRespondingDetector>
const& anr_detector);
65 std::shared_ptr<Session> open_session(
68 std::shared_ptr<frontend::EventSink>
const& sink)
override;
70 void close_session(std::shared_ptr<Session>
const& session)
override;
72 std::shared_ptr<Session> successor_of(std::shared_ptr<Session>
const&)
const override;
74 void set_focus_to(std::shared_ptr<Session>
const& focus)
override;
75 void unset_focus()
override;
82 std::shared_ptr<shell::SurfaceStack>
const surface_stack;
83 std::shared_ptr<SurfaceFactory>
const surface_factory;
84 std::shared_ptr<BufferStreamFactory>
const buffer_stream_factory;
85 std::shared_ptr<SessionContainer>
const app_container;
86 std::shared_ptr<SnapshotStrategy>
const snapshot_strategy;
87 std::shared_ptr<SessionEventSink>
const session_event_sink;
88 std::shared_ptr<SessionListener>
const session_listener;
89 std::shared_ptr<graphics::Display const>
const display;
90 std::shared_ptr<ApplicationNotRespondingDetector>
const anr_detector;
96 #endif // MIR_SCENE_APPLICATION_MANAGER_H_ All things Mir.
Definition: atomic_callback.h:25
Definition: session_coordinator.h:41
Definition: session_manager.h:49