// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_ApplicationModel_Resources_Core_2_H #define WINRT_Windows_ApplicationModel_Resources_Core_2_H #include "winrt/impl/Windows.Foundation.Collections.1.h" #include "winrt/impl/Windows.UI.1.h" #include "winrt/impl/Windows.ApplicationModel.Resources.Core.1.h" WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Resources::Core { struct ResourceLayoutInfo { uint32_t MajorVersion; uint32_t MinorVersion; uint32_t ResourceSubtreeCount; uint32_t NamedResourceCount; int32_t Checksum; }; inline bool operator==(ResourceLayoutInfo const& left, ResourceLayoutInfo const& right) noexcept { return left.MajorVersion == right.MajorVersion && left.MinorVersion == right.MinorVersion && left.ResourceSubtreeCount == right.ResourceSubtreeCount && left.NamedResourceCount == right.NamedResourceCount && left.Checksum == right.Checksum; } inline bool operator!=(ResourceLayoutInfo const& left, ResourceLayoutInfo const& right) noexcept { return !(left == right); } struct WINRT_IMPL_EMPTY_BASES NamedResource : winrt::Windows::ApplicationModel::Resources::Core::INamedResource { NamedResource(std::nullptr_t) noexcept {} NamedResource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::Core::INamedResource(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES ResourceCandidate : winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate, impl::require { ResourceCandidate(std::nullptr_t) noexcept {} ResourceCandidate(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES ResourceCandidateVectorView : winrt::Windows::Foundation::Collections::IVectorView { ResourceCandidateVectorView(std::nullptr_t) noexcept {} ResourceCandidateVectorView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVectorView(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES ResourceContext : winrt::Windows::ApplicationModel::Resources::Core::IResourceContext { ResourceContext(std::nullptr_t) noexcept {} ResourceContext(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::Core::IResourceContext(ptr, take_ownership_from_abi) {} ResourceContext(); static auto CreateMatchingContext(param::iterable const& result); static auto GetForCurrentView(); static auto SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value); static auto ResetGlobalQualifierValues(); static auto ResetGlobalQualifierValues(param::iterable const& qualifierNames); static auto GetForViewIndependentUse(); static auto SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value, winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifierPersistence const& persistence); static auto GetForUIContext(winrt::Windows::UI::UIContext const& context); }; struct WINRT_IMPL_EMPTY_BASES ResourceContextLanguagesVectorView : winrt::Windows::Foundation::Collections::IVectorView { ResourceContextLanguagesVectorView(std::nullptr_t) noexcept {} ResourceContextLanguagesVectorView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVectorView(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES ResourceManager : winrt::Windows::ApplicationModel::Resources::Core::IResourceManager, impl::require { ResourceManager(std::nullptr_t) noexcept {} ResourceManager(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::Core::IResourceManager(ptr, take_ownership_from_abi) {} [[nodiscard]] static auto Current(); static auto IsResourceReference(param::hstring const& resourceReference); }; struct WINRT_IMPL_EMPTY_BASES ResourceMap : winrt::Windows::ApplicationModel::Resources::Core::IResourceMap { ResourceMap(std::nullptr_t) noexcept {} ResourceMap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::Core::IResourceMap(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES ResourceMapIterator : winrt::Windows::Foundation::Collections::IIterator> { ResourceMapIterator(std::nullptr_t) noexcept {} ResourceMapIterator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IIterator>(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES ResourceMapMapView : winrt::Windows::Foundation::Collections::IMapView { ResourceMapMapView(std::nullptr_t) noexcept {} ResourceMapMapView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IMapView(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES ResourceMapMapViewIterator : winrt::Windows::Foundation::Collections::IIterator> { ResourceMapMapViewIterator(std::nullptr_t) noexcept {} ResourceMapMapViewIterator(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IIterator>(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES ResourceQualifier : winrt::Windows::ApplicationModel::Resources::Core::IResourceQualifier { ResourceQualifier(std::nullptr_t) noexcept {} ResourceQualifier(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::ApplicationModel::Resources::Core::IResourceQualifier(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES ResourceQualifierMapView : winrt::Windows::Foundation::Collections::IMapView { ResourceQualifierMapView(std::nullptr_t) noexcept {} ResourceQualifierMapView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IMapView(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES ResourceQualifierObservableMap : winrt::Windows::Foundation::Collections::IObservableMap { ResourceQualifierObservableMap(std::nullptr_t) noexcept {} ResourceQualifierObservableMap(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IObservableMap(ptr, take_ownership_from_abi) {} }; struct WINRT_IMPL_EMPTY_BASES ResourceQualifierVectorView : winrt::Windows::Foundation::Collections::IVectorView { ResourceQualifierVectorView(std::nullptr_t) noexcept {} ResourceQualifierVectorView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::Collections::IVectorView(ptr, take_ownership_from_abi) {} }; } #endif