19 #ifndef MIR_SCENE_APPLICATION_MANAGER_H_ 20 #define MIR_SCENE_APPLICATION_MANAGER_H_ 31 class DisplayConfiguration;
33 class GraphicBufferAllocator;
36 namespace shell {
class SurfaceStack; }
40 class SessionContainer;
41 class SessionEventSink;
42 class SessionListener;
43 class SnapshotStrategy;
45 class PromptSessionManager;
46 class BufferStreamFactory;
48 class ApplicationNotRespondingDetector;
54 std::shared_ptr<shell::SurfaceStack>
const& surface_stack,
55 std::shared_ptr<SurfaceFactory>
const& surface_factory,
56 std::shared_ptr<BufferStreamFactory>
const& buffer_stream_factory,
57 std::shared_ptr<SessionContainer>
const& app_container,
58 std::shared_ptr<SnapshotStrategy>
const& snapshot_strategy,
59 std::shared_ptr<SessionEventSink>
const& session_event_sink,
60 std::shared_ptr<SessionListener>
const& session_listener,
61 std::shared_ptr<graphics::Display const>
const& display,
62 std::shared_ptr<ApplicationNotRespondingDetector>
const& anr_detector,
63 std::shared_ptr<graphics::GraphicBufferAllocator>
const& allocator);
67 std::shared_ptr<Session> open_session(
70 std::shared_ptr<frontend::EventSink>
const& sink)
override;
72 void close_session(std::shared_ptr<Session>
const& session)
override;
74 std::shared_ptr<Session> successor_of(std::shared_ptr<Session>
const&)
const override;
76 void set_focus_to(std::shared_ptr<Session>
const& focus)
override;
77 void unset_focus()
override;
84 std::shared_ptr<shell::SurfaceStack>
const surface_stack;
85 std::shared_ptr<SurfaceFactory>
const surface_factory;
86 std::shared_ptr<BufferStreamFactory>
const buffer_stream_factory;
87 std::shared_ptr<SessionContainer>
const app_container;
88 std::shared_ptr<SnapshotStrategy>
const snapshot_strategy;
89 std::shared_ptr<SessionEventSink>
const session_event_sink;
90 std::shared_ptr<SessionListener>
const session_listener;
91 std::shared_ptr<graphics::Display const>
const display;
92 std::shared_ptr<ApplicationNotRespondingDetector>
const anr_detector;
93 std::shared_ptr<graphics::GraphicBufferAllocator>
const allocator;
99 #endif // MIR_SCENE_APPLICATION_MANAGER_H_ All things Mir.
Definition: atomic_callback.h:25
Definition: session_coordinator.h:41
Definition: session_manager.h:50