summaryrefslogtreecommitdiff
path: root/src/envmetrics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/envmetrics.h')
-rw-r--r--src/envmetrics.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/envmetrics.h b/src/envmetrics.h
index bede36fc..8dfdb087 100644
--- a/src/envmetrics.h
+++ b/src/envmetrics.h
@@ -1,3 +1,6 @@
+#ifndef ENV_METRICS_H
+#define ENV_METRICS_H
+
#include <QString>
#include <vector>
@@ -63,6 +66,10 @@ public:
//
const std::vector<Display>& displays() const;
+ // full resolution
+ //
+ QRect desktopGeometry() const;
+
private:
std::vector<Display> m_displays;
@@ -70,3 +77,5 @@ private:
};
} // namespace
+
+#endif // ENV_METRICS_H