| 21 | } |
| 22 | |
| 23 | std::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 | |
| 35 | std::string AppInfo::GetArchitecture() { |
| 36 | return TARGET_ARCH; |
nothing calls this directly
no outgoing calls
no test coverage detected