2016-11-20 17:02:27 +05:30
|
|
|
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
namespace Sys
|
|
|
|
{
|
2017-07-12 02:13:35 +05:30
|
|
|
const uint64_t megabyte = 1024ull * 1024ull;
|
2016-11-26 06:48:05 +05:30
|
|
|
struct KernelInfo
|
|
|
|
{
|
|
|
|
QString kernelName;
|
|
|
|
QString kernelVersion;
|
|
|
|
};
|
|
|
|
|
|
|
|
KernelInfo getKernelInfo();
|
2016-11-22 05:27:15 +05:30
|
|
|
|
|
|
|
uint64_t getSystemRam();
|
|
|
|
|
|
|
|
bool isSystem64bit();
|
|
|
|
|
|
|
|
bool isCPU64bit();
|
2016-11-20 17:02:27 +05:30
|
|
|
}
|