mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
64 lines
2.3 KiB
C++
64 lines
2.3 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
|
|
|
|
#pragma once
|
|
#include "winrt/location.nearby.windows.h"
|
|
namespace winrt::location::nearby::windows::implementation
|
|
{
|
|
template <typename D, typename... I>
|
|
struct __declspec(empty_bases) BluetoothClassicMedium_base : implements<D, location::nearby::windows::BluetoothClassicMedium, I...>
|
|
{
|
|
using base_type = BluetoothClassicMedium_base;
|
|
using class_type = location::nearby::windows::BluetoothClassicMedium;
|
|
using implements_type = typename BluetoothClassicMedium_base::implements_type;
|
|
using implements_type::implements_type;
|
|
|
|
hstring GetRuntimeClassName() const
|
|
{
|
|
return L"location.nearby.windows.BluetoothClassicMedium";
|
|
}
|
|
};
|
|
}
|
|
namespace winrt::location::nearby::windows::factory_implementation
|
|
{
|
|
template <typename D, typename T, typename... I>
|
|
struct __declspec(empty_bases) BluetoothClassicMediumT : implements<D, winrt::Windows::Foundation::IActivationFactory, I...>
|
|
{
|
|
using instance_type = location::nearby::windows::BluetoothClassicMedium;
|
|
|
|
hstring GetRuntimeClassName() const
|
|
{
|
|
return L"location.nearby.windows.BluetoothClassicMedium";
|
|
}
|
|
auto ActivateInstance() const
|
|
{
|
|
return make<T>();
|
|
}
|
|
};
|
|
}
|
|
|
|
#if defined(WINRT_FORCE_INCLUDE_BLUETOOTHCLASSICMEDIUM_XAML_G_H) || __has_include("BluetoothClassicMedium.xaml.g.h")
|
|
#include "BluetoothClassicMedium.xaml.g.h"
|
|
#else
|
|
|
|
namespace winrt::location::nearby::windows::implementation
|
|
{
|
|
template <typename D, typename... I>
|
|
using BluetoothClassicMediumT = BluetoothClassicMedium_base<D, I...>;
|
|
}
|
|
|
|
#endif
|