blob: 62fc8c4984fffc2a9f666d7b40318fb856887853 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#include <QString>
#include <vector>
namespace env
{
class Metrics
{
public:
struct Display
{
int resX=0, resY=0, dpi=0;
bool primary=false;
int refreshRate = 0;
QString monitor, adapter;
QString toString() const;
};
Metrics();
const std::vector<Display>& displays() const;
private:
std::vector<Display> m_displays;
};
} // namespace
|