17#ifndef MIROIL_PERSIST_DISPLAY_CONFIG_H
18#define MIROIL_PERSIST_DISPLAY_CONFIG_H
23namespace mir {
class Server;
namespace graphics {
class DisplayConfigurationPolicy; }}
27class DisplayConfigurationPolicy;
28class DisplayConfigurationStorage;
39 using DisplayConfigurationPolicyWrapper = std::function<std::shared_ptr<DisplayConfigurationPolicy>(std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>
const& wrapped)>;
48 std::shared_ptr<Self> self;
Restores the saved display configuration and saves changes to the base configuration.
Definition persist_display_config.h:32
PersistDisplayConfig(PersistDisplayConfig const &)
void operator()(mir::Server &server)
auto operator=(PersistDisplayConfig const &) -> PersistDisplayConfig &
PersistDisplayConfig(std::shared_ptr< DisplayConfigurationStorage > const &storage, DisplayConfigurationPolicyWrapper const &custom_wrapper)
std::function< std::shared_ptr< DisplayConfigurationPolicy >(std::shared_ptr< mir::graphics::DisplayConfigurationPolicy > const &wrapped)> DisplayConfigurationPolicyWrapper
Definition persist_display_config.h:39
Definition splash_session.h:22
Definition compositor.h:21