1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-27 02:20:05 +00:00

Windows: Added windows implementation for SystemStats::getDeviceDescription

This commit is contained in:
hogliux 2017-07-31 15:57:07 +01:00
parent 264ccf5191
commit 52fb43b1a7

View file

@ -227,7 +227,19 @@ String SystemStats::getOperatingSystemName()
String SystemStats::getDeviceDescription()
{
return {};
#if WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP
return "Windows (Desktop)";
#elif WINAPI_FAMILY == WINAPI_FAMILY_PC_APP
return "Windows (Store)";
#elif WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
return "Windows (Phone)";
#elif WINAPI_FAMILY == WINAPI_FAMILY_SYSTEM
return "Windows (System)";
#elif WINAPI_FAMILY == WINAPI_FAMILY_SERVER
return "Windows (Server)";
#else
return "Windows";
#endif
}
bool SystemStats::isOperatingSystem64Bit()