MCPcopy Create free account
hub / github.com/MultiMC/Launcher / OpSys_toString

Function OpSys_toString

launcher/minecraft/OpSys.cpp:29–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29QString OpSys_toString(OpSys name)
30{
31 switch (name)
32 {
33 case Os_Linux:
34 return "linux";
35 case Os_OSX:
36 return "osx";
37 case Os_Windows:
38 return "windows";
39 default:
40 return "other";
41 }
42}

Callers 2

toJsonMethod · 0.85
libraryToJsonMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected