Mir
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
include
server
mir
shell
display_configuration_controller.h
Go to the documentation of this file.
1
/*
2
* Copyright © 2015 Canonical Ltd.
3
*
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License version 3,
6
* as published by the Free Software Foundation.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* Authored by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
17
*/
18
19
#ifndef MIR_SHELL_DISPLAY_CONFIGURATION_CONTROLLER_H_
20
#define MIR_SHELL_DISPLAY_CONFIGURATION_CONTROLLER_H_
21
22
#include <memory>
23
24
namespace
mir
25
{
26
namespace
graphics
27
{
28
class
DisplayConfiguration;
29
}
30
31
namespace
shell
32
{
33
class
DisplayConfigurationController
34
{
35
public
:
36
DisplayConfigurationController
() =
default
;
37
virtual
~
DisplayConfigurationController
() =
default
;
38
39
DisplayConfigurationController
(
DisplayConfigurationController
const
&) =
delete
;
40
DisplayConfigurationController
& operator=(
DisplayConfigurationController
const
&) =
delete
;
41
50
virtual
void
set_base_configuration(
51
std::shared_ptr<graphics::DisplayConfiguration>
const
& conf) = 0;
52
59
virtual
std::shared_ptr<graphics::DisplayConfiguration> base_configuration() = 0;
60
};
61
}
62
}
63
64
#endif //MIR_SHELL_DISPLAY_CONFIGURATION_CONTROLLER_H_
mir
Definition:
as_render_target.h:27
mir::shell::DisplayConfigurationController
Definition:
display_configuration_controller.h:33
Copyright © 2012-2016 Canonical Ltd.
Generated on Tue Oct 31 05:57:28 UTC 2017