Adding GetBatteryInfo() to PlatformBase.
This commit is contained in:
@@ -11,6 +11,7 @@ struct CPUInfo;
|
|||||||
struct MemoryStats;
|
struct MemoryStats;
|
||||||
struct ProcessMemoryStats;
|
struct ProcessMemoryStats;
|
||||||
struct CreateWindowSettings;
|
struct CreateWindowSettings;
|
||||||
|
struct BatteryInfo;
|
||||||
|
|
||||||
// ReSharper disable CppFunctionIsNotImplemented
|
// ReSharper disable CppFunctionIsNotImplemented
|
||||||
|
|
||||||
@@ -548,6 +549,11 @@ public:
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
static void SetHighDpiAwarenessEnabled(bool enable);
|
static void SetHighDpiAwarenessEnabled(bool enable);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the battery information.
|
||||||
|
/// </summary>
|
||||||
|
API_PROPERTY() static BatteryInfo GetBatteryInfo();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the screen DPI setting.
|
/// Gets the screen DPI setting.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user