Mir
Loading...
Searching...
No Matches
display_configuration_controller_wrapper.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 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
22namespace mir { namespace shell { class DisplayConfigurationController; } }
23namespace mir { namespace graphics { class DisplayConfiguration; } }
24
25namespace miroil
26{
27
29{
30public:
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
44private:
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:22
Definition compositor.h:21

Copyright © 2012-2024 Canonical Ltd.
Generated on Sat Aug 17 07:04:01 UTC 2024
This documentation is licensed under the GPL version 2 or 3.