mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
nearby sdk refactor
PiperOrigin-RevId: 425434260
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14
|
||||
|
||||
#pragma once
|
||||
#ifndef WINRT_Windows_Graphics_0_H
|
||||
#define WINRT_Windows_Graphics_0_H
|
||||
WINRT_EXPORT namespace winrt::Windows::Graphics
|
||||
{
|
||||
struct IGeometrySource2D;
|
||||
struct DisplayAdapterId;
|
||||
struct DisplayId;
|
||||
struct PointInt32;
|
||||
struct RectInt32;
|
||||
struct SizeInt32;
|
||||
}
|
||||
namespace winrt::impl
|
||||
{
|
||||
template <> struct category<winrt::Windows::Graphics::IGeometrySource2D>{ using type = interface_category; };
|
||||
template <> struct category<winrt::Windows::Graphics::DisplayAdapterId>{ using type = struct_category<uint32_t, int32_t>; };
|
||||
template <> struct category<winrt::Windows::Graphics::DisplayId>{ using type = struct_category<uint64_t>; };
|
||||
template <> struct category<winrt::Windows::Graphics::PointInt32>{ using type = struct_category<int32_t, int32_t>; };
|
||||
template <> struct category<winrt::Windows::Graphics::RectInt32>{ using type = struct_category<int32_t, int32_t, int32_t, int32_t>; };
|
||||
template <> struct category<winrt::Windows::Graphics::SizeInt32>{ using type = struct_category<int32_t, int32_t>; };
|
||||
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::DisplayAdapterId> = L"Windows.Graphics.DisplayAdapterId";
|
||||
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::DisplayId> = L"Windows.Graphics.DisplayId";
|
||||
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::PointInt32> = L"Windows.Graphics.PointInt32";
|
||||
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::RectInt32> = L"Windows.Graphics.RectInt32";
|
||||
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::SizeInt32> = L"Windows.Graphics.SizeInt32";
|
||||
template <> inline constexpr auto& name_v<winrt::Windows::Graphics::IGeometrySource2D> = L"Windows.Graphics.IGeometrySource2D";
|
||||
template <> inline constexpr guid guid_v<winrt::Windows::Graphics::IGeometrySource2D>{ 0xCAFF7902,0x670C,0x4181,{ 0xA6,0x24,0xDA,0x97,0x72,0x03,0xB8,0x45 } }; // CAFF7902-670C-4181-A624-DA977203B845
|
||||
template <> struct abi<winrt::Windows::Graphics::IGeometrySource2D>
|
||||
{
|
||||
struct __declspec(novtable) type : inspectable_abi
|
||||
{
|
||||
};
|
||||
};
|
||||
template <typename D>
|
||||
struct consume_Windows_Graphics_IGeometrySource2D
|
||||
{
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Graphics::IGeometrySource2D>
|
||||
{
|
||||
template <typename D> using type = consume_Windows_Graphics_IGeometrySource2D<D>;
|
||||
};
|
||||
struct struct_Windows_Graphics_DisplayAdapterId
|
||||
{
|
||||
uint32_t LowPart;
|
||||
int32_t HighPart;
|
||||
};
|
||||
template <> struct abi<Windows::Graphics::DisplayAdapterId>
|
||||
{
|
||||
using type = struct_Windows_Graphics_DisplayAdapterId;
|
||||
};
|
||||
struct struct_Windows_Graphics_DisplayId
|
||||
{
|
||||
uint64_t Value;
|
||||
};
|
||||
template <> struct abi<Windows::Graphics::DisplayId>
|
||||
{
|
||||
using type = struct_Windows_Graphics_DisplayId;
|
||||
};
|
||||
struct struct_Windows_Graphics_PointInt32
|
||||
{
|
||||
int32_t X;
|
||||
int32_t Y;
|
||||
};
|
||||
template <> struct abi<Windows::Graphics::PointInt32>
|
||||
{
|
||||
using type = struct_Windows_Graphics_PointInt32;
|
||||
};
|
||||
struct struct_Windows_Graphics_RectInt32
|
||||
{
|
||||
int32_t X;
|
||||
int32_t Y;
|
||||
int32_t Width;
|
||||
int32_t Height;
|
||||
};
|
||||
template <> struct abi<Windows::Graphics::RectInt32>
|
||||
{
|
||||
using type = struct_Windows_Graphics_RectInt32;
|
||||
};
|
||||
struct struct_Windows_Graphics_SizeInt32
|
||||
{
|
||||
int32_t Width;
|
||||
int32_t Height;
|
||||
};
|
||||
template <> struct abi<Windows::Graphics::SizeInt32>
|
||||
{
|
||||
using type = struct_Windows_Graphics_SizeInt32;
|
||||
};
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user