PrismLauncher/libraries/ganalytics/include/sys.h
Petr Mrázek 55541c387c NOISSUE simplify system detection and user agent handling
Now it only checks OS kernel name/version.
User agent is 'MultiMC5/$version'.
Kernel info is passed through custom dimensions in analytics.
2016-11-26 02:18:05 +01:00

20 lines
217 B
C++

#pragma once
#include <QString>
namespace Sys
{
struct KernelInfo
{
QString kernelName;
QString kernelVersion;
};
KernelInfo getKernelInfo();
uint64_t getSystemRam();
bool isSystem64bit();
bool isCPU64bit();
}