hyperion.ng/include/utils/SysInfo.h

33 lines
457 B
C
Raw Normal View History

#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;
};
~SysInfo();
static HyperionSysInfo get();
private:
SysInfo();
static SysInfo* _instance;
HyperionSysInfo _sysinfo;
};