// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_UI_Xaml_Interop_2_H #define WINRT_Windows_UI_Xaml_Interop_2_H #include "winrt/impl/Windows.UI.Xaml.Interop.1.h" WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Interop { struct BindableVectorChangedEventHandler : winrt::Windows::Foundation::IUnknown { BindableVectorChangedEventHandler(std::nullptr_t = nullptr) noexcept {} BindableVectorChangedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} template BindableVectorChangedEventHandler(L lambda); template BindableVectorChangedEventHandler(F* function); template BindableVectorChangedEventHandler(O* object, M method); template BindableVectorChangedEventHandler(com_ptr&& object, M method); template BindableVectorChangedEventHandler(weak_ref&& object, LM&& lambda_or_method); template BindableVectorChangedEventHandler(std::shared_ptr&& object, M method); template BindableVectorChangedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); auto operator()(winrt::Windows::UI::Xaml::Interop::IBindableObservableVector const& vector, winrt::Windows::Foundation::IInspectable const& e) const; }; struct NotifyCollectionChangedEventHandler : winrt::Windows::Foundation::IUnknown { NotifyCollectionChangedEventHandler(std::nullptr_t = nullptr) noexcept {} NotifyCollectionChangedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {} template NotifyCollectionChangedEventHandler(L lambda); template NotifyCollectionChangedEventHandler(F* function); template NotifyCollectionChangedEventHandler(O* object, M method); template NotifyCollectionChangedEventHandler(com_ptr&& object, M method); template NotifyCollectionChangedEventHandler(weak_ref&& object, LM&& lambda_or_method); template NotifyCollectionChangedEventHandler(std::shared_ptr&& object, M method); template NotifyCollectionChangedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method); auto operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventArgs const& e) const; }; struct TypeName { hstring Name; winrt::Windows::UI::Xaml::Interop::TypeKind Kind; }; inline bool operator==(TypeName const& left, TypeName const& right) noexcept { return left.Name == right.Name && left.Kind == right.Kind; } inline bool operator!=(TypeName const& left, TypeName const& right) noexcept { return !(left == right); } struct WINRT_IMPL_EMPTY_BASES NotifyCollectionChangedEventArgs : winrt::Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs { NotifyCollectionChangedEventArgs(std::nullptr_t) noexcept {} NotifyCollectionChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs(ptr, take_ownership_from_abi) {} NotifyCollectionChangedEventArgs(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedAction const& action, winrt::Windows::UI::Xaml::Interop::IBindableVector const& newItems, winrt::Windows::UI::Xaml::Interop::IBindableVector const& oldItems, int32_t newIndex, int32_t oldIndex); }; } #endif