Mir
Loading...
Searching...
No Matches
miroil::PersistDisplayConfig Class Reference

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

#include <persist_display_config.h>

Public Types

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

Public Member 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)
 

Detailed Description

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

Member Typedef Documentation

◆ DisplayConfigurationPolicyWrapper

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

Constructor & Destructor Documentation

◆ ~PersistDisplayConfig()

miroil::PersistDisplayConfig::~PersistDisplayConfig ( )

◆ PersistDisplayConfig() [1/2]

miroil::PersistDisplayConfig::PersistDisplayConfig ( PersistDisplayConfig const & )

◆ PersistDisplayConfig() [2/2]

miroil::PersistDisplayConfig::PersistDisplayConfig ( std::shared_ptr< DisplayConfigurationStorage > const & storage,
DisplayConfigurationPolicyWrapper const & custom_wrapper )

Member Function Documentation

◆ operator()()

void miroil::PersistDisplayConfig::operator() ( mir::Server & server)

◆ operator=()

auto miroil::PersistDisplayConfig::operator= ( PersistDisplayConfig const & ) -> PersistDisplayConfig &

The documentation for this class was generated from the following file:

Copyright © 2012-2025 Canonical Ltd.
Generated on Sun Mar 2 17:34:18 UTC 2025
This documentation is licensed under the GPL version 2 or 3.