Changed Get*Name to return const std::string&
This commit is contained in:
@@ -36,16 +36,16 @@ namespace OpenVulkano
|
||||
static size_t GetAppRamAvailable();
|
||||
static size_t GetAppRamUsed();
|
||||
|
||||
static std::string GetUserName();
|
||||
static std::string GetHostName();
|
||||
static const std::string& GetUserName();
|
||||
static const std::string& GetHostName();
|
||||
|
||||
// Device name as given by the user
|
||||
static std::string GetDeviceName();
|
||||
static std::string GetDeviceVendorName();
|
||||
static std::string GetDeviceModelName();
|
||||
static std::string GetOsName();
|
||||
static const std::string& GetDeviceName();
|
||||
static const std::string& GetDeviceVendorName();
|
||||
static const std::string& GetDeviceModelName();
|
||||
static const std::string& GetOsName();
|
||||
static OsVersion GetOsVersion();
|
||||
static std::string GetOsNameHumanReadable();
|
||||
static const std::string& GetOsNameHumanReadable();
|
||||
static DeviceType GetDeviceType();
|
||||
|
||||
static size_t GetCpuCoreCount();
|
||||
|
||||
Reference in New Issue
Block a user