mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 15:16:12 -04:00
185 lines
8.8 KiB
C++
185 lines
8.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_UI_Xaml_Data_2_H
|
|
#define WINRT_Microsoft_UI_Xaml_Data_2_H
|
|
#include "winrt/impl/Microsoft.UI.Xaml.1.h"
|
|
#include "winrt/impl/Microsoft.UI.Xaml.Data.1.h"
|
|
WINRT_EXPORT namespace winrt::Microsoft::UI::Xaml::Data {
|
|
struct CurrentChangingEventHandler : winrt::Windows::Foundation::IUnknown {
|
|
CurrentChangingEventHandler(std::nullptr_t = nullptr) noexcept {}
|
|
CurrentChangingEventHandler(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {}
|
|
template <typename L>
|
|
CurrentChangingEventHandler(L lambda);
|
|
template <typename F>
|
|
CurrentChangingEventHandler(F* function);
|
|
template <typename O, typename M>
|
|
CurrentChangingEventHandler(O* object, M method);
|
|
template <typename O, typename M>
|
|
CurrentChangingEventHandler(com_ptr<O>&& object, M method);
|
|
template <typename O, typename LM>
|
|
CurrentChangingEventHandler(weak_ref<O>&& object, LM&& lambda_or_method);
|
|
template <typename O, typename M>
|
|
CurrentChangingEventHandler(std::shared_ptr<O>&& object, M method);
|
|
template <typename O, typename LM>
|
|
CurrentChangingEventHandler(std::weak_ptr<O>&& object,
|
|
LM&& lambda_or_method);
|
|
auto operator()(
|
|
winrt::Windows::Foundation::IInspectable const& sender,
|
|
winrt::Microsoft::UI::Xaml::Data::CurrentChangingEventArgs const& e)
|
|
const;
|
|
};
|
|
struct PropertyChangedEventHandler : winrt::Windows::Foundation::IUnknown {
|
|
PropertyChangedEventHandler(std::nullptr_t = nullptr) noexcept {}
|
|
PropertyChangedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {}
|
|
template <typename L>
|
|
PropertyChangedEventHandler(L lambda);
|
|
template <typename F>
|
|
PropertyChangedEventHandler(F* function);
|
|
template <typename O, typename M>
|
|
PropertyChangedEventHandler(O* object, M method);
|
|
template <typename O, typename M>
|
|
PropertyChangedEventHandler(com_ptr<O>&& object, M method);
|
|
template <typename O, typename LM>
|
|
PropertyChangedEventHandler(weak_ref<O>&& object, LM&& lambda_or_method);
|
|
template <typename O, typename M>
|
|
PropertyChangedEventHandler(std::shared_ptr<O>&& object, M method);
|
|
template <typename O, typename LM>
|
|
PropertyChangedEventHandler(std::weak_ptr<O>&& object,
|
|
LM&& lambda_or_method);
|
|
auto operator()(
|
|
winrt::Windows::Foundation::IInspectable const& sender,
|
|
winrt::Microsoft::UI::Xaml::Data::PropertyChangedEventArgs const& e)
|
|
const;
|
|
};
|
|
struct LoadMoreItemsResult {
|
|
uint32_t Count{};
|
|
};
|
|
inline bool operator==(LoadMoreItemsResult const& left,
|
|
LoadMoreItemsResult const& right) noexcept {
|
|
return left.Count == right.Count;
|
|
}
|
|
inline bool operator!=(LoadMoreItemsResult const& left,
|
|
LoadMoreItemsResult const& right) noexcept {
|
|
return !(left == right);
|
|
}
|
|
struct WINRT_IMPL_EMPTY_BASES Binding
|
|
: winrt::Microsoft::UI::Xaml::Data::IBinding,
|
|
impl::base<Binding, winrt::Microsoft::UI::Xaml::Data::BindingBase,
|
|
winrt::Microsoft::UI::Xaml::DependencyObject>,
|
|
impl::require<Binding, winrt::Microsoft::UI::Xaml::Data::IBindingBase,
|
|
winrt::Microsoft::UI::Xaml::IDependencyObject> {
|
|
Binding(std::nullptr_t) noexcept {}
|
|
Binding(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Microsoft::UI::Xaml::Data::IBinding(ptr,
|
|
take_ownership_from_abi) {}
|
|
Binding();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES BindingBase
|
|
: winrt::Microsoft::UI::Xaml::Data::IBindingBase,
|
|
impl::base<BindingBase, winrt::Microsoft::UI::Xaml::DependencyObject>,
|
|
impl::require<BindingBase,
|
|
winrt::Microsoft::UI::Xaml::IDependencyObject> {
|
|
BindingBase(std::nullptr_t) noexcept {}
|
|
BindingBase(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Microsoft::UI::Xaml::Data::IBindingBase(
|
|
ptr, take_ownership_from_abi) {}
|
|
BindingBase();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES BindingExpression
|
|
: winrt::Microsoft::UI::Xaml::Data::IBindingExpression,
|
|
impl::base<BindingExpression,
|
|
winrt::Microsoft::UI::Xaml::Data::BindingExpressionBase>,
|
|
impl::require<
|
|
BindingExpression,
|
|
winrt::Microsoft::UI::Xaml::Data::IBindingExpressionBase> {
|
|
BindingExpression(std::nullptr_t) noexcept {}
|
|
BindingExpression(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Microsoft::UI::Xaml::Data::IBindingExpression(
|
|
ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES BindingExpressionBase
|
|
: winrt::Microsoft::UI::Xaml::Data::IBindingExpressionBase {
|
|
BindingExpressionBase(std::nullptr_t) noexcept {}
|
|
BindingExpressionBase(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Microsoft::UI::Xaml::Data::IBindingExpressionBase(
|
|
ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES BindingOperations
|
|
: winrt::Microsoft::UI::Xaml::Data::IBindingOperations {
|
|
BindingOperations(std::nullptr_t) noexcept {}
|
|
BindingOperations(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Microsoft::UI::Xaml::Data::IBindingOperations(
|
|
ptr, take_ownership_from_abi) {}
|
|
static auto SetBinding(
|
|
winrt::Microsoft::UI::Xaml::DependencyObject const& target,
|
|
winrt::Microsoft::UI::Xaml::DependencyProperty const& dp,
|
|
winrt::Microsoft::UI::Xaml::Data::BindingBase const& binding);
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES CollectionViewSource
|
|
: winrt::Microsoft::UI::Xaml::Data::ICollectionViewSource,
|
|
impl::base<CollectionViewSource,
|
|
winrt::Microsoft::UI::Xaml::DependencyObject>,
|
|
impl::require<CollectionViewSource,
|
|
winrt::Microsoft::UI::Xaml::IDependencyObject> {
|
|
CollectionViewSource(std::nullptr_t) noexcept {}
|
|
CollectionViewSource(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Microsoft::UI::Xaml::Data::ICollectionViewSource(
|
|
ptr, take_ownership_from_abi) {}
|
|
CollectionViewSource();
|
|
[[nodiscard]] static auto SourceProperty();
|
|
[[nodiscard]] static auto ViewProperty();
|
|
[[nodiscard]] static auto IsSourceGroupedProperty();
|
|
[[nodiscard]] static auto ItemsPathProperty();
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES CurrentChangingEventArgs
|
|
: winrt::Microsoft::UI::Xaml::Data::ICurrentChangingEventArgs {
|
|
CurrentChangingEventArgs(std::nullptr_t) noexcept {}
|
|
CurrentChangingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Microsoft::UI::Xaml::Data::ICurrentChangingEventArgs(
|
|
ptr, take_ownership_from_abi) {}
|
|
CurrentChangingEventArgs();
|
|
explicit CurrentChangingEventArgs(bool isCancelable);
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES DataErrorsChangedEventArgs
|
|
: winrt::Microsoft::UI::Xaml::Data::IDataErrorsChangedEventArgs {
|
|
DataErrorsChangedEventArgs(std::nullptr_t) noexcept {}
|
|
DataErrorsChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Microsoft::UI::Xaml::Data::IDataErrorsChangedEventArgs(
|
|
ptr, take_ownership_from_abi) {}
|
|
explicit DataErrorsChangedEventArgs(param::hstring const& name);
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES ItemIndexRange
|
|
: winrt::Microsoft::UI::Xaml::Data::IItemIndexRange {
|
|
ItemIndexRange(std::nullptr_t) noexcept {}
|
|
ItemIndexRange(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Microsoft::UI::Xaml::Data::IItemIndexRange(
|
|
ptr, take_ownership_from_abi) {}
|
|
ItemIndexRange(int32_t firstIndex, uint32_t length);
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES PropertyChangedEventArgs
|
|
: winrt::Microsoft::UI::Xaml::Data::IPropertyChangedEventArgs {
|
|
PropertyChangedEventArgs(std::nullptr_t) noexcept {}
|
|
PropertyChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Microsoft::UI::Xaml::Data::IPropertyChangedEventArgs(
|
|
ptr, take_ownership_from_abi) {}
|
|
explicit PropertyChangedEventArgs(param::hstring const& name);
|
|
};
|
|
struct WINRT_IMPL_EMPTY_BASES RelativeSource
|
|
: winrt::Microsoft::UI::Xaml::Data::IRelativeSource,
|
|
impl::base<RelativeSource,
|
|
winrt::Microsoft::UI::Xaml::DependencyObject>,
|
|
impl::require<RelativeSource,
|
|
winrt::Microsoft::UI::Xaml::IDependencyObject> {
|
|
RelativeSource(std::nullptr_t) noexcept {}
|
|
RelativeSource(void* ptr, take_ownership_from_abi_t) noexcept
|
|
: winrt::Microsoft::UI::Xaml::Data::IRelativeSource(
|
|
ptr, take_ownership_from_abi) {}
|
|
RelativeSource();
|
|
};
|
|
}
|
|
#endif
|