Class PersistDisplayConfig

Class Documentation

class PersistDisplayConfig

Restores the saved display configuration and saves changes to the base configuration.

Public Types

using DisplayConfigurationPolicyWrapper = std::function<std::shared_ptr<DisplayConfigurationPolicy>(std::shared_ptr<mir::graphics::DisplayConfigurationPolicy> const &wrapped)>

Public Functions

~PersistDisplayConfig()
PersistDisplayConfig(PersistDisplayConfig const&)
auto operator=(PersistDisplayConfig const&) -> PersistDisplayConfig&
PersistDisplayConfig(std::shared_ptr<DisplayConfigurationStorage> const &storage, DisplayConfigurationPolicyWrapper const &custom_wrapper)
void operator()(mir::Server &server)