Files
nearby/cpp/platform/impl/windows/generated/winrt/impl/Windows.Perception.2.h
T
hai007 b1815095dd BEGIN_PUBLIC
Microsoft has updated the winrt library
END_PUBLC

PiperOrigin-RevId: 387168248
2021-07-29 03:27:37 -07:00

27 lines
1.3 KiB
C++

// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210505.3
#ifndef WINRT_Windows_Perception_2_H
#define WINRT_Windows_Perception_2_H
#include "winrt/impl/Windows.Foundation.1.h"
#include "winrt/impl/Windows.Perception.1.h"
WINRT_EXPORT namespace winrt::Windows::Perception
{
struct __declspec(empty_bases) PerceptionTimestamp : winrt::Windows::Perception::IPerceptionTimestamp,
impl::require<PerceptionTimestamp, winrt::Windows::Perception::IPerceptionTimestamp2>
{
PerceptionTimestamp(std::nullptr_t) noexcept {}
PerceptionTimestamp(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Perception::IPerceptionTimestamp(ptr, take_ownership_from_abi) {}
PerceptionTimestamp(PerceptionTimestamp const&) noexcept = default;
PerceptionTimestamp(PerceptionTimestamp&&) noexcept = default;
PerceptionTimestamp& operator=(PerceptionTimestamp const&) & noexcept = default;
PerceptionTimestamp& operator=(PerceptionTimestamp&&) & noexcept = default;
};
struct PerceptionTimestampHelper
{
PerceptionTimestampHelper() = delete;
static auto FromHistoricalTargetTime(winrt::Windows::Foundation::DateTime const& targetTime);
static auto FromSystemRelativeTargetTime(winrt::Windows::Foundation::TimeSpan const& targetTime);
};
}
#endif