| @@ -116,6 +116,7 @@ static String getAllSystemInfo() | |||||
| << "Operating system: " << SystemStats::getOperatingSystemName() << newLine | << "Operating system: " << SystemStats::getOperatingSystemName() << newLine | ||||
| << "Host name: " << SystemStats::getComputerName() << newLine | << "Host name: " << SystemStats::getComputerName() << newLine | ||||
| << "Device type: " << SystemStats::getDeviceDescription() << newLine | << "Device type: " << SystemStats::getDeviceDescription() << newLine | ||||
| << "Manufacturer: " << SystemStats::getDeviceManufacturer() << newLine | |||||
| << "User logon name: " << SystemStats::getLogonName() << newLine | << "User logon name: " << SystemStats::getLogonName() << newLine | ||||
| << "Full user name: " << SystemStats::getFullUserName() << newLine | << "Full user name: " << SystemStats::getFullUserName() << newLine | ||||
| << "User region: " << SystemStats::getUserRegion() << newLine | << "User region: " << SystemStats::getUserRegion() << newLine | ||||
| @@ -380,6 +380,11 @@ String SystemStats::getDeviceDescription() | |||||
| + "-" + AndroidStatsHelpers::getAndroidOsBuildValue ("SERIAL"); | + "-" + AndroidStatsHelpers::getAndroidOsBuildValue ("SERIAL"); | ||||
| } | } | ||||
| String SystemStats::getDeviceManufacturer() | |||||
| { | |||||
| return AndroidStatsHelpers::getAndroidOsBuildValue ("MANUFACTURER"); | |||||
| } | |||||
| bool SystemStats::isOperatingSystem64Bit() | bool SystemStats::isOperatingSystem64Bit() | ||||
| { | { | ||||
| #if JUCE_64BIT | #if JUCE_64BIT | ||||
| @@ -60,6 +60,11 @@ String SystemStats::getDeviceDescription() | |||||
| return getCpuInfo ("Hardware"); | return getCpuInfo ("Hardware"); | ||||
| } | } | ||||
| String SystemStats::getDeviceManufacturer() | |||||
| { | |||||
| return {}; | |||||
| } | |||||
| String SystemStats::getCpuVendor() | String SystemStats::getCpuVendor() | ||||
| { | { | ||||
| auto v = getCpuInfo ("vendor_id"); | auto v = getCpuInfo ("vendor_id"); | ||||
| @@ -153,6 +153,11 @@ String SystemStats::getDeviceDescription() | |||||
| #endif | #endif | ||||
| } | } | ||||
| String SystemStats::getDeviceManufacturer() | |||||
| { | |||||
| return "Apple"; | |||||
| } | |||||
| bool SystemStats::isOperatingSystem64Bit() | bool SystemStats::isOperatingSystem64Bit() | ||||
| { | { | ||||
| #if JUCE_IOS | #if JUCE_IOS | ||||
| @@ -253,6 +253,11 @@ String SystemStats::getDeviceDescription() | |||||
| #endif | #endif | ||||
| } | } | ||||
| String SystemStats::getDeviceManufacturer() | |||||
| { | |||||
| return {}; | |||||
| } | |||||
| bool SystemStats::isOperatingSystem64Bit() | bool SystemStats::isOperatingSystem64Bit() | ||||
| { | { | ||||
| #if JUCE_64BIT | #if JUCE_64BIT | ||||
| @@ -129,6 +129,11 @@ public: | |||||
| */ | */ | ||||
| static String getDeviceDescription(); | static String getDeviceDescription(); | ||||
| /** This will attempt to return the manufacturer of the device. | |||||
| If no description is available, it'll just return an empty string. | |||||
| */ | |||||
| static String getDeviceManufacturer(); | |||||
| /** This method calculates some IDs to uniquely identify the device. | /** This method calculates some IDs to uniquely identify the device. | ||||
| The first choice for an ID is a filesystem ID for the user's home folder or | The first choice for an ID is a filesystem ID for the user's home folder or | ||||