2
3
4
5
6
7
8
9
10
11
12
13
14
15
17#ifndef MIROIL_DISPLAY_CONFIGURATION_STORAGE_H
18#define MIROIL_DISPLAY_CONFIGURATION_STORAGE_H
20#include <miroil/display_id.h>
22#include <mir/geometry/rectangle.h>
23#include <mir/optional_value.h>
24#include <mir_toolkit/common.h>
Definition: optional_value.h:27
Definition: display_configuration_storage.h:47
virtual void save(const DisplayId &, const DisplayConfigurationOptions &)=0
virtual bool load(const DisplayId &, DisplayConfigurationOptions &) const =0
virtual ~DisplayConfigurationStorage()=default
Basic geometry types. Types for dimensions, displacements, etc. and the operations that they support.
Definition: size.h:27
Definition: compositor.h:21
Definition: display_configuration_storage.h:36
double refresh_rate
Definition: display_configuration_storage.h:38
mir::geometry::Size size
Definition: display_configuration_storage.h:37
Definition: display_configuration_storage.h:32
mir::optional_value< uint > clone_output_index
Definition: display_configuration_storage.h:34
mir::optional_value< float > scale
Definition: display_configuration_storage.h:43
mir::optional_value< bool > used
Definition: display_configuration_storage.h:33
mir::optional_value< DisplayMode > mode
Definition: display_configuration_storage.h:40
mir::optional_value< MirFormFactor > form_factor
Definition: display_configuration_storage.h:42
mir::optional_value< MirOrientation > orientation
Definition: display_configuration_storage.h:41
Definition: display_id.h:15