diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-01-01 19:59:46 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-01-01 20:04:08 +0100 |
commit | a666dc0a1afa69b5b42aa3a487c8fa971c01cde1 (patch) | |
tree | e226954e1af8f1dce0f9e73898331aef2481503b /libraries/systeminfo/include/sys.h | |
parent | 722896d41f15a8bc78a864f7adcfd0527648073c (diff) | |
download | MultiMC-a666dc0a1afa69b5b42aa3a487c8fa971c01cde1.tar MultiMC-a666dc0a1afa69b5b42aa3a487c8fa971c01cde1.tar.gz MultiMC-a666dc0a1afa69b5b42aa3a487c8fa971c01cde1.tar.lz MultiMC-a666dc0a1afa69b5b42aa3a487c8fa971c01cde1.tar.xz MultiMC-a666dc0a1afa69b5b42aa3a487c8fa971c01cde1.zip |
NOISSUE fix up translation selection in settings and add OS/sys arch reporting
Diffstat (limited to 'libraries/systeminfo/include/sys.h')
-rw-r--r-- | libraries/systeminfo/include/sys.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libraries/systeminfo/include/sys.h b/libraries/systeminfo/include/sys.h new file mode 100644 index 00000000..36f7d9cd --- /dev/null +++ b/libraries/systeminfo/include/sys.h @@ -0,0 +1,19 @@ +#pragma once +#include <QString> + +namespace Sys +{ +struct KernelInfo +{ + QString kernelName; + QString kernelVersion; +}; + +KernelInfo getKernelInfo(); + +uint64_t getSystemRam(); + +bool isSystem64bit(); + +bool isCPU64bit(); +} |