19 #ifndef MIRAL_OUTPUT_H
20 #define MIRAL_OUTPUT_H
29 namespace mir {
namespace graphics {
struct DisplayConfigurationOutput; } }
60 explicit Output(
const mir::graphics::DisplayConfigurationOutput &output);
72 auto connected() const ->
bool;
75 auto used() const ->
bool;
81 auto refresh_rate() const ->
double;
89 auto scale() const ->
float;
100 auto
id() const ->
int;
102 auto valid() const ->
bool;
104 auto is_same_output(
Output const& other) const ->
bool;
109 auto logical_group_id() const ->
int;
112 std::shared_ptr<
mir::graphics::DisplayConfigurationOutput> self;
115 bool operator==(
Output::PhysicalSizeMM const& lhs,
Output::PhysicalSizeMM const& rhs);
116 inline
bool operator!=(
Output::PhysicalSizeMM const& lhs,
Output::PhysicalSizeMM const& rhs)
117 {
return !(lhs == rhs); }
122 #endif //MIRAL_OUTPUT_H