hyperion.ng/include/utils/SysInfo.h
Murat Seker a18ccb8b48
Refactor color utils (#955)
Co-authored-by: Paulchen Panther <16664240+Paulchen-Panther@users.noreply.github.com>
2020-08-08 13:22:37 +02:00

31 lines
443 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;
};