summaryrefslogtreecommitdiffstats
path: root/libraries/ganalytics/include/sys.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-22 02:02:49 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-22 02:46:18 +0100
commit7a14b639574fb7139761c7ca4986fa03e99b7366 (patch)
tree12ff5f68e729352676ba642f3943a601362cac14 /libraries/ganalytics/include/sys.h
parent44805145dc385ba9ffe0d78f2e723cef42984537 (diff)
downloadMultiMC-7a14b639574fb7139761c7ca4986fa03e99b7366.tar
MultiMC-7a14b639574fb7139761c7ca4986fa03e99b7366.tar.gz
MultiMC-7a14b639574fb7139761c7ca4986fa03e99b7366.tar.lz
MultiMC-7a14b639574fb7139761c7ca4986fa03e99b7366.tar.xz
MultiMC-7a14b639574fb7139761c7ca4986fa03e99b7366.zip
NOISSUE send custom analytics values
* System, Java and CPU architecture (either 32 or 64). * Java version. * System memory size in MB. * Java min/max heap size in MB.
Diffstat (limited to 'libraries/ganalytics/include/sys.h')
-rw-r--r--libraries/ganalytics/include/sys.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libraries/ganalytics/include/sys.h b/libraries/ganalytics/include/sys.h
new file mode 100644
index 00000000..40e4e513
--- /dev/null
+++ b/libraries/ganalytics/include/sys.h
@@ -0,0 +1,17 @@
+#pragma once
+#include <QString>
+
+namespace Sys
+{
+/**
+ * Get operation system name and version.
+ * @return os A QString with the name and version of the operating system.
+ */
+QString getSystemInfo();
+
+uint64_t getSystemRam();
+
+bool isSystem64bit();
+
+bool isCPU64bit();
+}