MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / currentSystem

Function currentSystem

launcher/SysInfo.cpp:25–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24namespace SysInfo {
25QString currentSystem()
26{
27#if defined(Q_OS_LINUX)
28 return "linux";
29#elif defined(Q_OS_MACOS)
30 return "osx";
31#elif defined(Q_OS_WINDOWS)
32 return "windows";
33#elif defined(Q_OS_FREEBSD)
34 return "freebsd";
35#elif defined(Q_OS_OPENBSD)
36 return "openbsd";
37#else
38 return "unknown";
39#endif
40}
41
42QString useQTForArch()
43{

Callers 5

RuntimeContextClass · 0.85
sortVersionsMethod · 0.85
executeTaskMethod · 0.85
tryNextMajorJavaMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected