19 #ifndef MIR_FRONTEND_SHELL_WRAPPER_H_ 20 #define MIR_FRONTEND_SHELL_WRAPPER_H_ 39 std::shared_ptr<EventSink>
const& sink)
override;
41 void close_session(std::shared_ptr<Session>
const& session)
override;
44 std::shared_ptr<Session>
const& session,
48 std::shared_ptr<PromptSession>
const& prompt_session,
49 std::shared_ptr<Session>
const& session)
override;
52 std::shared_ptr<PromptSession>
const& prompt_session)
override;
55 std::shared_ptr<Session>
const& session,
57 std::shared_ptr<EventSink>
const& sink)
override;
68 std::shared_ptr<Session>
const& session,
74 std::shared_ptr<Session>
const& session,
79 std::shared_ptr<Session>
const& session,
81 uint64_t timestamp)
override;
void stop_prompt_session(std::shared_ptr< PromptSession > const &prompt_session) override
Definition: shell_wrapper.cpp:51
All things Mir.
Definition: atomic_callback.h:25
virtual ~ShellWrapper()=default
void modify_surface(std::shared_ptr< Session > const &session, SurfaceId surface, shell::SurfaceSpecification const &modifications) override
Definition: shell_wrapper.cpp:65
void destroy_surface(std::shared_ptr< Session > const &session, SurfaceId surface) override
Definition: shell_wrapper.cpp:70
ShellWrapper(std::shared_ptr< Shell > const &wrapped)
Definition: shell_wrapper.h:31
int set_surface_attribute(std::shared_ptr< Session > const &session, SurfaceId surface_id, MirSurfaceAttrib attrib, int value) override
Definition: shell_wrapper.cpp:85
Definition: shell_wrapper.h:28
std::shared_ptr< scene::Surface > surface_for_id(std::string const &serialised_id) override
Definition: shell_wrapper.cpp:80
SurfaceId create_surface(std::shared_ptr< Session > const &session, scene::SurfaceCreationParameters const ¶ms, std::shared_ptr< EventSink > const &sink) override
Definition: shell_wrapper.cpp:57
std::string persistent_id_for(std::shared_ptr< Session > const &session, SurfaceId surface) override
Definition: shell_wrapper.cpp:75
std::shared_ptr< PromptSession > start_prompt_session_for(std::shared_ptr< Session > const &session, scene::PromptSessionCreationParameters const ¶ms) override
Definition: shell_wrapper.cpp:37
int get_surface_attribute(std::shared_ptr< Session > const &session, SurfaceId surface_id, MirSurfaceAttrib attrib) override
Definition: shell_wrapper.cpp:94
void close_session(std::shared_ptr< Session > const &session) override
Definition: shell_wrapper.cpp:32
std::shared_ptr< Shell > const wrapped
Definition: shell_wrapper.h:84
void add_prompt_provider_for(std::shared_ptr< PromptSession > const &prompt_session, std::shared_ptr< Session > const &session) override
Definition: shell_wrapper.cpp:44
void raise_surface(std::shared_ptr< Session > const &session, SurfaceId surface_id, uint64_t timestamp) override
Definition: shell_wrapper.cpp:102
Definition: surface_creation_parameters.h:41
std::shared_ptr< Session > open_session(pid_t client_pid, std::string const &name, std::shared_ptr< EventSink > const &sink) override
Definition: shell_wrapper.cpp:24
Definition: prompt_session_creation_parameters.h:29
Specification of surface properties requested by client.
Definition: surface_specification.h:49