Latest update for winrt

PiperOrigin-RevId: 452591835
This commit is contained in:
jfcarroll
2022-06-02 12:05:19 -07:00
committed by Copybara-Service
parent 11558b453c
commit 28da839987
1366 changed files with 69568 additions and 70576 deletions
@@ -1,4 +1,4 @@
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
#pragma once
#ifndef WINRT_Windows_System_Preview_0_H
@@ -10,7 +10,6 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Sensors
WINRT_EXPORT namespace winrt::Windows::Foundation
{
struct EventRegistrationToken;
template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::System::Preview
@@ -95,11 +94,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReading>) GetCurrentPostureAsync() const;
WINRT_IMPL_AUTO(winrt::event_token) PostureChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview, winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> const& handler) const;
auto GetCurrentPostureAsync() const;
auto PostureChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview, winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> const& handler) const;
using PostureChanged_revoker = impl::event_revoker<winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreview, &impl::abi_t<winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreview>::remove_PostureChanged>;
[[nodiscard]] PostureChanged_revoker PostureChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview, winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> const& handler) const;
WINRT_IMPL_AUTO(void) PostureChanged(winrt::event_token const& token) const noexcept;
[[nodiscard]] auto PostureChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview, winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> const& handler) const;
auto PostureChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreview>
{
@@ -108,12 +107,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Preview::HingeState) HingeState() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientation) Panel1Orientation() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Panel1Id() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientation) Panel2Orientation() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Panel2Id() const;
[[nodiscard]] auto Timestamp() const;
[[nodiscard]] auto HingeState() const;
[[nodiscard]] auto Panel1Orientation() const;
[[nodiscard]] auto Panel1Id() const;
[[nodiscard]] auto Panel2Orientation() const;
[[nodiscard]] auto Panel2Id() const;
};
template <> struct consume<winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewReading>
{
@@ -122,7 +121,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReadingChangedEventArgs
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReading) Reading() const;
[[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewReadingChangedEventArgs>
{
@@ -131,7 +130,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewStatics
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview>) GetDefaultAsync() const;
auto GetDefaultAsync() const;
};
template <> struct consume<winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewStatics>
{