Mir
display_configuration_controller_wrapper.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 Canonical, Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it under
5  * the terms of the GNU Lesser General Public License version 3, as published by
6  * the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
10  * SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  * Lesser General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef MIROIL_DISPLAY_CONFIGURATION_CONTROLLER_WRAPPER_H_
18 #define MIROIL_DISPLAY_CONFIGURATION_CONTROLLER_WRAPPER_H_
19 
20 #include <memory>
21 
22 namespace mir { namespace shell { class DisplayConfigurationController; } }
23 namespace mir { namespace graphics { class DisplayConfiguration; } }
24 
25 namespace miroil
26 {
27 
29 {
30 public:
31  DisplayConfigurationControllerWrapper(std::shared_ptr<mir::shell::DisplayConfigurationController> const & wrapped);
33 
42  void set_base_configuration(std::shared_ptr<mir::graphics::DisplayConfiguration> const& conf);
43 
44 private:
45  std::shared_ptr<mir::shell::DisplayConfigurationController> const & wrapped;
46 };
47 
48 }
49 
50 #endif //MIROIL_DISPLAY_CONFIGURATION_CONTROLLER_WRAPPER_H_
51 
Definition: display_configuration_controller_wrapper.h:29
DisplayConfigurationControllerWrapper(std::shared_ptr< mir::shell::DisplayConfigurationController > const &wrapped)
void set_base_configuration(std::shared_ptr< mir::graphics::DisplayConfiguration > const &conf)
Set the base display configuration.
Definition: splash_session.h:24
Definition: compositor.h:21

Copyright © 2012-2022 Canonical Ltd.
Generated on Mon Feb 28 07:07:30 UTC 2022
This documentation is licensed under the GPL version 2 or 3.