mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Update to winrt headers
PiperOrigin-RevId: 395381851
This commit is contained in:
committed by
Copybara-Service
parent
84821862b5
commit
7cf55178be
+2
-17
@@ -1,5 +1,6 @@
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210505.3
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210825.3
|
||||
|
||||
#pragma once
|
||||
#ifndef WINRT_Windows_Devices_Bluetooth_Rfcomm_2_H
|
||||
#define WINRT_Windows_Devices_Bluetooth_Rfcomm_2_H
|
||||
#include "winrt/impl/Windows.Devices.Bluetooth.1.h"
|
||||
@@ -12,10 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Rfcomm
|
||||
{
|
||||
RfcommDeviceService(std::nullptr_t) noexcept {}
|
||||
RfcommDeviceService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService(ptr, take_ownership_from_abi) {}
|
||||
RfcommDeviceService(RfcommDeviceService const&) noexcept = default;
|
||||
RfcommDeviceService(RfcommDeviceService&&) noexcept = default;
|
||||
RfcommDeviceService& operator=(RfcommDeviceService const&) & noexcept = default;
|
||||
RfcommDeviceService& operator=(RfcommDeviceService&&) & noexcept = default;
|
||||
static auto FromIdAsync(param::hstring const& deviceId);
|
||||
static auto GetDeviceSelector(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId);
|
||||
static auto GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice);
|
||||
@@ -27,19 +24,11 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Rfcomm
|
||||
{
|
||||
RfcommDeviceServicesResult(std::nullptr_t) noexcept {}
|
||||
RfcommDeviceServicesResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServicesResult(ptr, take_ownership_from_abi) {}
|
||||
RfcommDeviceServicesResult(RfcommDeviceServicesResult const&) noexcept = default;
|
||||
RfcommDeviceServicesResult(RfcommDeviceServicesResult&&) noexcept = default;
|
||||
RfcommDeviceServicesResult& operator=(RfcommDeviceServicesResult const&) & noexcept = default;
|
||||
RfcommDeviceServicesResult& operator=(RfcommDeviceServicesResult&&) & noexcept = default;
|
||||
};
|
||||
struct __declspec(empty_bases) RfcommServiceId : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId
|
||||
{
|
||||
RfcommServiceId(std::nullptr_t) noexcept {}
|
||||
RfcommServiceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId(ptr, take_ownership_from_abi) {}
|
||||
RfcommServiceId(RfcommServiceId const&) noexcept = default;
|
||||
RfcommServiceId(RfcommServiceId&&) noexcept = default;
|
||||
RfcommServiceId& operator=(RfcommServiceId const&) & noexcept = default;
|
||||
RfcommServiceId& operator=(RfcommServiceId&&) & noexcept = default;
|
||||
static auto FromUuid(winrt::guid const& uuid);
|
||||
static auto FromShortId(uint32_t shortId);
|
||||
[[nodiscard]] static auto SerialPort();
|
||||
@@ -54,10 +43,6 @@ WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Rfcomm
|
||||
{
|
||||
RfcommServiceProvider(std::nullptr_t) noexcept {}
|
||||
RfcommServiceProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider(ptr, take_ownership_from_abi) {}
|
||||
RfcommServiceProvider(RfcommServiceProvider const&) noexcept = default;
|
||||
RfcommServiceProvider(RfcommServiceProvider&&) noexcept = default;
|
||||
RfcommServiceProvider& operator=(RfcommServiceProvider const&) & noexcept = default;
|
||||
RfcommServiceProvider& operator=(RfcommServiceProvider&&) & noexcept = default;
|
||||
using winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider::StartAdvertising;
|
||||
using impl::consume_t<RfcommServiceProvider, winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider2>::StartAdvertising;
|
||||
static auto CreateAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId);
|
||||
|
||||
Reference in New Issue
Block a user