Go to the documentation of this file.
19 #ifndef MIRAL_DISPLAY_CONFIGURATION_H
20 #define MIRAL_DISPLAY_CONFIGURATION_H
26 namespace mir {
class Server; }
31 class CommandLineOption;
60 std::shared_ptr<Self>
self;
64 #endif //MIRAL_DISPLAY_CONFIGURATION_H
auto layout_option() -> CommandLineOption
Provide the default 'display-layout' configuration option.
DisplayConfiguration(MirRunner const &mir_runner)
Mir Abstraction Layer.
Definition: floating_window_manager.h:29
auto list_layouts() -> std::vector< std::string >
List all layouts found in the config file.
Definition: splash_session.h:24
void select_layout(std::string const &layout)
Select a layout from the configuration.
auto operator=(DisplayConfiguration const &) -> DisplayConfiguration &
Add a user configuration option to Mir's option handling. By default the callback will be invoked fol...
Definition: command_line_option.h:40
Runner for applying initialization options to Mir.
Definition: runner.h:39
void operator()(mir::Server &server) const
Enable display configuration. The config file (miral::MirRunner::display_config_file()) is located vi...
Definition: display_configuration.h:38
Copyright © 2012-2021
Canonical Ltd.
Generated on Fri Nov 19 11:53:53 UTC 2021
This documentation is licensed under the GPL version 2 or 3.