19 #ifndef MIR_SHELL_DEFAULT_SHELL_H_
20 #define MIR_SHELL_DEFAULT_SHELL_H_
26 namespace scene {
class PlacementStrategy;
class SurfaceConfigurator; }
41 std::shared_ptr<scene::PlacementStrategy>
const& placement_strategy,
42 std::shared_ptr<scene::SurfaceConfigurator>
const& surface_configurator);
49 std::shared_ptr<frontend::EventSink>
const& sink)
override;
51 void close_session(std::shared_ptr<scene::Session>
const& session)
override;
58 std::shared_ptr<scene::Session>
const& session,
59 std::shared_ptr<scene::Surface>
const& surface,
65 std::shared_ptr<scene::PlacementStrategy>
const placement_strategy;
66 std::shared_ptr<scene::SurfaceConfigurator>
const surface_configurator;
68 void setting_focus_to(std::shared_ptr<scene::Surface>
const& surface)
override;
All things Mir.
Definition: buffer_stream.h:37
std::shared_ptr< scene::SurfaceCoordinator > const surface_coordinator
Definition: abstract_shell.h:92
frontend::SurfaceId create_surface(std::shared_ptr< scene::Session > const &session, scene::SurfaceCreationParameters const ¶ms) override
Definition: default_shell.cpp:72
std::shared_ptr< scene::SessionCoordinator > const session_coordinator
Definition: abstract_shell.h:93
std::shared_ptr< InputTargeter > const input_targeter
Definition: abstract_shell.h:91
std::shared_ptr< scene::Session > open_session(pid_t client_pid, std::string const &name, std::shared_ptr< frontend::EventSink > const &sink) override
Definition: default_shell.cpp:48
void handle_surface_created(std::shared_ptr< scene::Session > const &session) override
Definition: default_shell.cpp:65
Default shell implementation.
Definition: default_shell.h:33
Definition: int_wrapper.h:27
int set_surface_attribute(std::shared_ptr< scene::Session > const &session, std::shared_ptr< scene::Surface > const &surface, MirSurfaceAttrib attrib, int value) override
Definition: default_shell.cpp:77
void close_session(std::shared_ptr< scene::Session > const &session) override
Definition: default_shell.cpp:58
Definition: surface_creation_parameters.h:41
std::shared_ptr< scene::PromptSessionManager > const prompt_session_manager
Definition: abstract_shell.h:94
Minimal Shell implementation with none of the necessary window management logic.
Definition: abstract_shell.h:31
DefaultShell(std::shared_ptr< InputTargeter > const &input_targeter, std::shared_ptr< scene::SurfaceCoordinator > const &surface_coordinator, std::shared_ptr< scene::SessionCoordinator > const &session_coordinator, std::shared_ptr< scene::PromptSessionManager > const &prompt_session_manager, std::shared_ptr< scene::PlacementStrategy > const &placement_strategy, std::shared_ptr< scene::SurfaceConfigurator > const &surface_configurator)
Definition: default_shell.cpp:35