mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
138b7d9c94
Co-authored-by: Seker <murat.seker@barco.com>
32 lines
444 B
C++
32 lines
444 B
C++
#pragma once
|
|
|
|
#include <QObject>
|
|
#include <QString>
|
|
|
|
class SysInfo : public QObject
|
|
{
|
|
|
|
public:
|
|
struct HyperionSysInfo
|
|
{
|
|
QString kernelType;
|
|
QString kernelVersion;
|
|
QString architecture;
|
|
QString wordSize;
|
|
QString productType;
|
|
QString productVersion;
|
|
QString prettyName;
|
|
QString hostName;
|
|
QString domainName;
|
|
};
|
|
|
|
static HyperionSysInfo get();
|
|
|
|
private:
|
|
SysInfo();
|
|
|
|
static SysInfo* _instance;
|
|
|
|
HyperionSysInfo _sysinfo;
|
|
};
|