19 #ifndef MIROIL_MIRSERVERHOOKS_H
20 #define MIROIL_MIRSERVERHOOKS_H
23 #include <mir/graphics/cursor_image.h>
27 namespace mir {
class Server; }
28 namespace mir {
namespace scene {
class PromptSessionManager; }}
29 namespace mir {
namespace graphics {
class Display; }}
30 namespace mir {
namespace shell {
class DisplayConfigurationController; } }
34 using CreateNamedCursor = std::function<std::shared_ptr< mir::graphics::CursorImage>(std::string
const& name)>;
53 std::shared_ptr<Self> self;
Definition: mir_server_hooks.h:37
auto the_display_configuration_controller() const -> std::shared_ptr< mir::shell::DisplayConfigurationController >
auto the_mir_display() const -> std::shared_ptr< mir::graphics::Display >
void operator()(mir::Server &server)
auto the_prompt_session_listener() const -> PromptSessionListener *
auto the_prompt_session_manager() const -> std::shared_ptr< mir::scene::PromptSessionManager >
void create_named_cursor(CreateNamedCursor func)
void create_input_device_observer(std::shared_ptr< InputDeviceObserver > &observer)
void create_prompt_session_listener(std::shared_ptr< PromptSessionListener > listener)
Definition: prompt_session_listener.h:27
Definition: prompt_session_manager.h:29
Definition: splash_session.h:24
Definition: compositor.h:21
std::function< std::shared_ptr< mir::graphics::CursorImage >(std::string const &name)> CreateNamedCursor
Definition: mir_server_hooks.h:34