2016-11-20 11:32:27 +00:00
|
|
|
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
namespace Sys
|
|
|
|
{
|
2017-07-11 20:43:35 +00:00
|
|
|
const uint64_t megabyte = 1024ull * 1024ull;
|
2016-11-26 01:18:05 +00:00
|
|
|
struct KernelInfo
|
|
|
|
{
|
|
|
|
QString kernelName;
|
|
|
|
QString kernelVersion;
|
|
|
|
};
|
|
|
|
|
|
|
|
KernelInfo getKernelInfo();
|
2016-11-21 23:57:15 +00:00
|
|
|
|
|
|
|
uint64_t getSystemRam();
|
|
|
|
|
|
|
|
bool isSystem64bit();
|
|
|
|
|
|
|
|
bool isCPU64bit();
|
2016-11-20 11:32:27 +00:00
|
|
|
}
|