mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
Update to winrt headers
PiperOrigin-RevId: 395381851
This commit is contained in:
committed by
Copybara-Service
parent
84821862b5
commit
7cf55178be
@@ -1,10 +1,11 @@
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210505.3
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210825.3
|
||||
|
||||
#pragma once
|
||||
#ifndef WINRT_Windows_System_Power_H
|
||||
#define WINRT_Windows_System_Power_H
|
||||
#include "winrt/base.h"
|
||||
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210505.3"), "Mismatched C++/WinRT headers.");
|
||||
#define CPPWINRT_VERSION "2.0.210505.3"
|
||||
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210825.3"), "Mismatched C++/WinRT headers.");
|
||||
#define CPPWINRT_VERSION "2.0.210825.3"
|
||||
#include "winrt/Windows.System.h"
|
||||
#include "winrt/impl/Windows.Foundation.2.h"
|
||||
#include "winrt/impl/Windows.System.Power.2.h"
|
||||
@@ -70,7 +71,7 @@ namespace winrt::impl
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept
|
||||
{
|
||||
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->remove_RecentEnergyUsageIncreased(impl::bind_in(token)));
|
||||
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->remove_RecentEnergyUsageIncreased(impl::bind_in(token));
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
|
||||
{
|
||||
@@ -84,7 +85,7 @@ namespace winrt::impl
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept
|
||||
{
|
||||
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->remove_RecentEnergyUsageReturnedToLow(impl::bind_in(token)));
|
||||
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->remove_RecentEnergyUsageReturnedToLow(impl::bind_in(token));
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::LowUsageLevel() const
|
||||
{
|
||||
@@ -134,7 +135,7 @@ namespace winrt::impl
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept
|
||||
{
|
||||
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->remove_RecentEnergyUsageIncreased(impl::bind_in(token)));
|
||||
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->remove_RecentEnergyUsageIncreased(impl::bind_in(token));
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
|
||||
{
|
||||
@@ -148,7 +149,7 @@ namespace winrt::impl
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept
|
||||
{
|
||||
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->remove_RecentEnergyUsageReturnedToLow(impl::bind_in(token)));
|
||||
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->remove_RecentEnergyUsageReturnedToLow(impl::bind_in(token));
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Power::EnergySaverStatus) consume_Windows_System_Power_IPowerManagerStatics<D>::EnergySaverStatus() const
|
||||
{
|
||||
@@ -168,7 +169,7 @@ namespace winrt::impl
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IPowerManagerStatics<D>::EnergySaverStatusChanged(winrt::event_token const& token) const noexcept
|
||||
{
|
||||
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_EnergySaverStatusChanged(impl::bind_in(token)));
|
||||
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_EnergySaverStatusChanged(impl::bind_in(token));
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Power::BatteryStatus) consume_Windows_System_Power_IPowerManagerStatics<D>::BatteryStatus() const
|
||||
{
|
||||
@@ -188,7 +189,7 @@ namespace winrt::impl
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IPowerManagerStatics<D>::BatteryStatusChanged(winrt::event_token const& token) const noexcept
|
||||
{
|
||||
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_BatteryStatusChanged(impl::bind_in(token)));
|
||||
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_BatteryStatusChanged(impl::bind_in(token));
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Power::PowerSupplyStatus) consume_Windows_System_Power_IPowerManagerStatics<D>::PowerSupplyStatus() const
|
||||
{
|
||||
@@ -208,7 +209,7 @@ namespace winrt::impl
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IPowerManagerStatics<D>::PowerSupplyStatusChanged(winrt::event_token const& token) const noexcept
|
||||
{
|
||||
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_PowerSupplyStatusChanged(impl::bind_in(token)));
|
||||
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_PowerSupplyStatusChanged(impl::bind_in(token));
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingChargePercent() const
|
||||
{
|
||||
@@ -228,7 +229,7 @@ namespace winrt::impl
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingChargePercentChanged(winrt::event_token const& token) const noexcept
|
||||
{
|
||||
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_RemainingChargePercentChanged(impl::bind_in(token)));
|
||||
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_RemainingChargePercentChanged(impl::bind_in(token));
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingDischargeTime() const
|
||||
{
|
||||
@@ -248,7 +249,7 @@ namespace winrt::impl
|
||||
}
|
||||
template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingDischargeTimeChanged(winrt::event_token const& token) const noexcept
|
||||
{
|
||||
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_RemainingDischargeTimeChanged(impl::bind_in(token)));
|
||||
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_RemainingDischargeTimeChanged(impl::bind_in(token));
|
||||
}
|
||||
#ifndef WINRT_LEAN_AND_MEAN
|
||||
template <typename D>
|
||||
|
||||
Reference in New Issue
Block a user