mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
64 lines
2.8 KiB
C++
64 lines
2.8 KiB
C++
// WARNING: Please don't edit this file. It was generated by C++/WinRT
|
|
// v2.0.250303.1
|
|
|
|
#pragma once
|
|
#ifndef WINRT_Microsoft_Windows_Internal_AI_ContentModeration_H
|
|
#define WINRT_Microsoft_Windows_Internal_AI_ContentModeration_H
|
|
#include "winrt/base.h"
|
|
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.250303.1"),
|
|
"Mismatched C++/WinRT headers.");
|
|
#define CPPWINRT_VERSION "2.0.250303.1"
|
|
#include "winrt/impl/Microsoft.Windows.AI.ContentModerationInternal.2.h"
|
|
#include "winrt/impl/Microsoft.Windows.Internal.AI.ContentModeration.2.h"
|
|
#include "winrt/impl/Microsoft.Windows.PrivateCommon.2.h"
|
|
#include "winrt/impl/Windows.Foundation.2.h"
|
|
namespace winrt::impl {}
|
|
WINRT_EXPORT namespace winrt::Microsoft::Windows::Internal::AI::
|
|
ContentModeration {
|
|
inline ImageContentModerationSession::ImageContentModerationSession()
|
|
: ImageContentModerationSession(
|
|
impl::call_factory_cast<
|
|
ImageContentModerationSession (*)(
|
|
winrt::Windows::Foundation::IActivationFactory const&),
|
|
ImageContentModerationSession>(
|
|
[](winrt::Windows::Foundation::IActivationFactory const& f) {
|
|
return f.template ActivateInstance<
|
|
ImageContentModerationSession>();
|
|
})) {}
|
|
inline TextBlockListSession::TextBlockListSession()
|
|
: TextBlockListSession(
|
|
impl::call_factory_cast<
|
|
TextBlockListSession (*)(
|
|
winrt::Windows::Foundation::IActivationFactory const&),
|
|
TextBlockListSession>(
|
|
[](winrt::Windows::Foundation::IActivationFactory const& f) {
|
|
return f.template ActivateInstance<TextBlockListSession>();
|
|
})) {}
|
|
inline TextContentModerationSession::TextContentModerationSession()
|
|
: TextContentModerationSession(
|
|
impl::call_factory_cast<
|
|
TextContentModerationSession (*)(
|
|
winrt::Windows::Foundation::IActivationFactory const&),
|
|
TextContentModerationSession>(
|
|
[](winrt::Windows::Foundation::IActivationFactory const& f) {
|
|
return f.template ActivateInstance<
|
|
TextContentModerationSession>();
|
|
})) {}
|
|
}
|
|
namespace std {
|
|
#ifndef WINRT_LEAN_AND_MEAN
|
|
template <>
|
|
struct hash<winrt::Microsoft::Windows::Internal::AI::ContentModeration::
|
|
ImageContentModerationSession> : winrt::impl::hash_base {};
|
|
template <>
|
|
struct hash<winrt::Microsoft::Windows::Internal::AI::ContentModeration::
|
|
TextBlockListSession> : winrt::impl::hash_base {};
|
|
template <>
|
|
struct hash<winrt::Microsoft::Windows::Internal::AI::ContentModeration::
|
|
TextContentModerationSession> : winrt::impl::hash_base {};
|
|
#endif
|
|
#ifdef __cpp_lib_format
|
|
#endif
|
|
} // namespace std
|
|
#endif
|