17 #ifndef MIRAL_WAYLAND_EXTENSIONS_H
18 #define MIRAL_WAYLAND_EXTENSIONS_H
32 namespace mir {
class Server; }
69 virtual auto display()
const -> wl_display* = 0;
91 std::function<std::shared_ptr<
void>(
Context const* context)>
build;
100 auto app()
const -> Application
const&;
102 auto name()
const ->
const char*;
108 EnableInfo(Application
const& app,
const char* name, std::optional<
bool> user_preference);
110 std::unique_ptr<Self>
const self;
114 using Filter = std::function<
bool(Application
const& app,
char const* protocol)>;
117 using EnableCallback = std::function<
bool(
EnableInfo const& info)>;
123 [[
deprecated(
"use conditionally_enable() instead")]]
176 [[
deprecated(
"use zwp_virtual_keyboard_manager_v1 instead")]]
178 [[
deprecated(
"use zwp_input_method_manager_v2 instead")]]
222 std::shared_ptr<Self> self;