mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Update WinRT headers to support Windows App SDK and newer Windows SDK.
PiperOrigin-RevId: 862076081
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT
|
||||
// v2.0.250303.1
|
||||
|
||||
#pragma once
|
||||
#ifndef WINRT_Microsoft_Windows_Vision_2_H
|
||||
#define WINRT_Microsoft_Windows_Vision_2_H
|
||||
#include "winrt/impl/Microsoft.Windows.Vision.1.h"
|
||||
WINRT_EXPORT namespace winrt::Microsoft::Windows::Vision {
|
||||
struct ScreenRegionBoundingBox {
|
||||
uint32_t Left{};
|
||||
uint32_t Top{};
|
||||
uint32_t Right{};
|
||||
uint32_t Bottom{};
|
||||
};
|
||||
inline bool operator==(ScreenRegionBoundingBox const& left,
|
||||
ScreenRegionBoundingBox const& right) noexcept {
|
||||
return left.Left == right.Left && left.Top == right.Top &&
|
||||
left.Right == right.Right && left.Bottom == right.Bottom;
|
||||
}
|
||||
inline bool operator!=(ScreenRegionBoundingBox const& left,
|
||||
ScreenRegionBoundingBox const& right) noexcept {
|
||||
return !(left == right);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user