19 #ifndef MIROIL_PERSIST_DISPLAY_CONFIG_H
20 #define MIROIL_PERSIST_DISPLAY_CONFIG_H
25 namespace mir {
class Server;
namespace graphics {
class DisplayConfigurationPolicy; }}
29 class DisplayConfigurationPolicy;
30 class DisplayConfigurationStorage;
41 using DisplayConfigurationPolicyWrapper = std::function<std::shared_ptr<DisplayConfigurationPolicy>(std::shared_ptr<mir::graphics::DisplayConfigurationPolicy>
const& wrapped)>;
50 std::shared_ptr<Self>
self;
Restores the saved display configuration and saves changes to the base configuration.
Definition: persist_display_config.h:34
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:41
Definition: splash_session.h:24
Definition: compositor.h:21