mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 23:26:12 -04:00
37 lines
1.7 KiB
C++
37 lines
1.7 KiB
C++
// Copyright 2020 Google LLC
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// https://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210505.3
|
|
|
|
#ifndef WINRT_Windows_Devices_Display_2_H
|
|
#define WINRT_Windows_Devices_Display_2_H
|
|
#include "winrt/impl/Windows.Devices.Display.1.h"
|
|
WINRT_EXPORT namespace winrt::Windows::Devices::Display
|
|
{
|
|
struct __declspec(empty_bases) DisplayMonitor : winrt::Windows::Devices::Display::IDisplayMonitor,
|
|
impl::require<DisplayMonitor, winrt::Windows::Devices::Display::IDisplayMonitor2>
|
|
{
|
|
DisplayMonitor(std::nullptr_t) noexcept {}
|
|
DisplayMonitor(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Display::IDisplayMonitor(ptr, take_ownership_from_abi) {}
|
|
DisplayMonitor(DisplayMonitor const&) noexcept = default;
|
|
DisplayMonitor(DisplayMonitor&&) noexcept = default;
|
|
DisplayMonitor& operator=(DisplayMonitor const&) & noexcept = default;
|
|
DisplayMonitor& operator=(DisplayMonitor&&) & noexcept = default;
|
|
static auto GetDeviceSelector();
|
|
static auto FromIdAsync(param::hstring const& deviceId);
|
|
static auto FromInterfaceIdAsync(param::hstring const& deviceInterfaceId);
|
|
};
|
|
}
|
|
#endif
|