MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / getOperatingSystemName

Method getOperatingSystemName

3rdparty/Amalgamate/juce_core_amalgam.cpp:30626–30641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30624}
30625
30626String SystemStats::getOperatingSystemName()
30627{
30628 const char* name = "Unknown OS";
30629
30630 switch (getOperatingSystemType())
30631 {
30632 case Windows7: name = "Windows 7"; break;
30633 case WinVista: name = "Windows Vista"; break;
30634 case WinXP: name = "Windows XP"; break;
30635 case Win2000: name = "Windows 2000"; break;
30636 case Win98: name = "Windows 98"; break;
30637 default: jassertfalse; break; // !! new type of OS?
30638 }
30639
30640 return name;
30641}
30642
30643bool SystemStats::isOperatingSystem64Bit()
30644{

Callers

nothing calls this directly

Calls 1

getSystemPropertyFunction · 0.85

Tested by

no test coverage detected