mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 07:36:10 -04:00
Update WinRT to new version 2.0.250303.1
PiperOrigin-RevId: 781075193
This commit is contained in:
committed by
Copybara-Service
parent
5e558cffc4
commit
8f14bd10fc
+11
-5
@@ -1,4 +1,4 @@
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.250303.1
|
||||
|
||||
#pragma once
|
||||
#ifndef WINRT_Windows_System_Threading_2_H
|
||||
@@ -15,7 +15,9 @@ WINRT_EXPORT namespace winrt::Windows::System::Threading
|
||||
template <typename F> TimerDestroyedHandler(F* function);
|
||||
template <typename O, typename M> TimerDestroyedHandler(O* object, M method);
|
||||
template <typename O, typename M> TimerDestroyedHandler(com_ptr<O>&& object, M method);
|
||||
template <typename O, typename M> TimerDestroyedHandler(weak_ref<O>&& object, M method);
|
||||
template <typename O, typename LM> TimerDestroyedHandler(weak_ref<O>&& object, LM&& lambda_or_method);
|
||||
template <typename O, typename M> TimerDestroyedHandler(std::shared_ptr<O>&& object, M method);
|
||||
template <typename O, typename LM> TimerDestroyedHandler(std::weak_ptr<O>&& object, LM&& lambda_or_method);
|
||||
auto operator()(winrt::Windows::System::Threading::ThreadPoolTimer const& timer) const;
|
||||
};
|
||||
struct TimerElapsedHandler : winrt::Windows::Foundation::IUnknown
|
||||
@@ -26,7 +28,9 @@ WINRT_EXPORT namespace winrt::Windows::System::Threading
|
||||
template <typename F> TimerElapsedHandler(F* function);
|
||||
template <typename O, typename M> TimerElapsedHandler(O* object, M method);
|
||||
template <typename O, typename M> TimerElapsedHandler(com_ptr<O>&& object, M method);
|
||||
template <typename O, typename M> TimerElapsedHandler(weak_ref<O>&& object, M method);
|
||||
template <typename O, typename LM> TimerElapsedHandler(weak_ref<O>&& object, LM&& lambda_or_method);
|
||||
template <typename O, typename M> TimerElapsedHandler(std::shared_ptr<O>&& object, M method);
|
||||
template <typename O, typename LM> TimerElapsedHandler(std::weak_ptr<O>&& object, LM&& lambda_or_method);
|
||||
auto operator()(winrt::Windows::System::Threading::ThreadPoolTimer const& timer) const;
|
||||
};
|
||||
struct WorkItemHandler : winrt::Windows::Foundation::IUnknown
|
||||
@@ -37,7 +41,9 @@ WINRT_EXPORT namespace winrt::Windows::System::Threading
|
||||
template <typename F> WorkItemHandler(F* function);
|
||||
template <typename O, typename M> WorkItemHandler(O* object, M method);
|
||||
template <typename O, typename M> WorkItemHandler(com_ptr<O>&& object, M method);
|
||||
template <typename O, typename M> WorkItemHandler(weak_ref<O>&& object, M method);
|
||||
template <typename O, typename LM> WorkItemHandler(weak_ref<O>&& object, LM&& lambda_or_method);
|
||||
template <typename O, typename M> WorkItemHandler(std::shared_ptr<O>&& object, M method);
|
||||
template <typename O, typename LM> WorkItemHandler(std::weak_ptr<O>&& object, LM&& lambda_or_method);
|
||||
auto operator()(winrt::Windows::Foundation::IAsyncAction const& operation) const;
|
||||
};
|
||||
struct ThreadPool
|
||||
@@ -47,7 +53,7 @@ WINRT_EXPORT namespace winrt::Windows::System::Threading
|
||||
static auto RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority);
|
||||
static auto RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority, winrt::Windows::System::Threading::WorkItemOptions const& options);
|
||||
};
|
||||
struct __declspec(empty_bases) ThreadPoolTimer : winrt::Windows::System::Threading::IThreadPoolTimer
|
||||
struct WINRT_IMPL_EMPTY_BASES ThreadPoolTimer : winrt::Windows::System::Threading::IThreadPoolTimer
|
||||
{
|
||||
ThreadPoolTimer(std::nullptr_t) noexcept {}
|
||||
ThreadPoolTimer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::System::Threading::IThreadPoolTimer(ptr, take_ownership_from_abi) {}
|
||||
|
||||
Reference in New Issue
Block a user