mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
Latest update for winrt
PiperOrigin-RevId: 452591835
This commit is contained in:
committed by
Copybara-Service
parent
11558b453c
commit
28da839987
+11
-11
@@ -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_Threading_0_H
|
||||
@@ -110,9 +110,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_System_Threading_IThreadPoolStatics
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority, winrt::Windows::System::Threading::WorkItemOptions const& options) const;
|
||||
auto RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler) const;
|
||||
auto RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority) const;
|
||||
auto RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority, winrt::Windows::System::Threading::WorkItemOptions const& options) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::System::Threading::IThreadPoolStatics>
|
||||
{
|
||||
@@ -121,9 +121,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_System_Threading_IThreadPoolTimer
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Period() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Delay() const;
|
||||
WINRT_IMPL_AUTO(void) Cancel() const;
|
||||
[[nodiscard]] auto Period() const;
|
||||
[[nodiscard]] auto Delay() const;
|
||||
auto Cancel() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::System::Threading::IThreadPoolTimer>
|
||||
{
|
||||
@@ -132,10 +132,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_System_Threading_IThreadPoolTimerStatics
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) CreatePeriodicTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& period) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) CreateTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& delay) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) CreatePeriodicTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& period, winrt::Windows::System::Threading::TimerDestroyedHandler const& destroyed) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) CreateTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& delay, winrt::Windows::System::Threading::TimerDestroyedHandler const& destroyed) const;
|
||||
auto CreatePeriodicTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& period) const;
|
||||
auto CreateTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& delay) const;
|
||||
auto CreatePeriodicTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& period, winrt::Windows::System::Threading::TimerDestroyedHandler const& destroyed) const;
|
||||
auto CreateTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& delay, winrt::Windows::System::Threading::TimerDestroyedHandler const& destroyed) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::System::Threading::IThreadPoolTimerStatics>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user