Files
nearby/cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.Power.2.h
T

24 lines
1.0 KiB
C++

// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14
#pragma once
#ifndef WINRT_Windows_Devices_Power_2_H
#define WINRT_Windows_Devices_Power_2_H
#include "winrt/impl/Windows.Devices.Power.1.h"
WINRT_EXPORT namespace winrt::Windows::Devices::Power
{
struct __declspec(empty_bases) Battery : winrt::Windows::Devices::Power::IBattery
{
Battery(std::nullptr_t) noexcept {}
Battery(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Power::IBattery(ptr, take_ownership_from_abi) {}
[[nodiscard]] static auto AggregateBattery();
static auto FromIdAsync(param::hstring const& deviceId);
static auto GetDeviceSelector();
};
struct __declspec(empty_bases) BatteryReport : winrt::Windows::Devices::Power::IBatteryReport
{
BatteryReport(std::nullptr_t) noexcept {}
BatteryReport(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Power::IBatteryReport(ptr, take_ownership_from_abi) {}
};
}
#endif