Add SystemName and SystemVersion to Platform api
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
#include "Engine/Platform/MemoryStats.h"
|
||||
#include "Engine/Platform/BatteryInfo.h"
|
||||
#include "Engine/Platform/Base/PlatformUtils.h"
|
||||
#include "Engine/Engine/Globals.h"
|
||||
#include "Engine/Core/Log.h"
|
||||
#include "Engine/Core/Types/Version.h"
|
||||
#include "Engine/Core/Collections/Dictionary.h"
|
||||
#include "Engine/Core/Collections/Array.h"
|
||||
#include "Engine/Platform/MessageBox.h"
|
||||
@@ -793,6 +793,16 @@ void WindowsPlatform::SetHighDpiAwarenessEnabled(bool enable)
|
||||
::FreeLibrary(shCoreDll);
|
||||
}
|
||||
|
||||
String WindowsPlatform::GetSystemName()
|
||||
{
|
||||
return WindowsName;
|
||||
}
|
||||
|
||||
Version WindowsPlatform::GetSystemVersion()
|
||||
{
|
||||
return Version(VersionMajor, VersionMinor, VersionBuild);
|
||||
}
|
||||
|
||||
BatteryInfo WindowsPlatform::GetBatteryInfo()
|
||||
{
|
||||
BatteryInfo info;
|
||||
|
||||
Reference in New Issue
Block a user