MCPcopy Create free account
hub / github.com/MeisApps/pcbu-desktop / GetOperatingSystem

Method GetOperatingSystem

common/src/utils/AppInfo.cpp:23–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23std::string AppInfo::GetOperatingSystem() {
24#ifdef WINDOWS
25 return "Windows";
26#elif LINUX
27 return "Linux";
28#elif APPLE
29 return "macOS";
30#else
31#error Unknown operating system.
32#endif
33}
34
35std::string AppInfo::GetArchitecture() {
36 return TARGET_ARCH;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected