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:
parent
264ccf5191
commit
52fb43b1a7
1 changed files with 13 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue