Go to the documentation of this file.
2
3
4
5
6
7
8
9
10
11
12
13
14
15
17#ifndef MIROIL_PERSIST_DISPLAY_CONFIG_H
18#define MIROIL_PERSIST_DISPLAY_CONFIG_H
23namespace mir {
class Server;
namespace graphics {
class DisplayConfigurationPolicy; }}
39 using DisplayConfigurationPolicyWrapper = std::function<std::shared_ptr<
DisplayConfigurationPolicy>(std::shared_ptr<
mir::graphics::DisplayConfigurationPolicy>
const& wrapped)>;
42 DisplayConfigurationPolicyWrapper
const& custom_wrapper);
48 std::shared_ptr<Self> self;
Definition display_configuration_policy.h:26
Definition display_configuration_storage.h:47
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)
Definition compositor.h:21
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.