mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Latest update for winrt
PiperOrigin-RevId: 452591835
This commit is contained in:
committed by
Copybara-Service
parent
11558b453c
commit
28da839987
+180
-189
@@ -1,4 +1,4 @@
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
|
||||
|
||||
#pragma once
|
||||
#ifndef WINRT_Windows_ApplicationModel_0_H
|
||||
@@ -7,19 +7,12 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Activation
|
||||
{
|
||||
struct IActivatedEventArgs;
|
||||
}
|
||||
WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core
|
||||
{
|
||||
struct AppListEntry;
|
||||
}
|
||||
WINRT_EXPORT namespace winrt::Windows::Foundation
|
||||
{
|
||||
struct Deferral;
|
||||
struct EventRegistrationToken;
|
||||
struct HResult;
|
||||
struct IAsyncAction;
|
||||
template <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
|
||||
template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
|
||||
template <typename T> struct __declspec(empty_bases) IReference;
|
||||
struct Size;
|
||||
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
|
||||
struct Uri;
|
||||
@@ -27,8 +20,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation
|
||||
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
|
||||
{
|
||||
template <typename T> struct __declspec(empty_bases) IIterable;
|
||||
template <typename T> struct __declspec(empty_bases) IVectorView;
|
||||
template <typename T> struct __declspec(empty_bases) IVector;
|
||||
}
|
||||
WINRT_EXPORT namespace winrt::Windows::Storage
|
||||
{
|
||||
@@ -954,9 +945,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IAppDisplayInfo
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) GetLogo(winrt::Windows::Foundation::Size const& size) const;
|
||||
[[nodiscard]] auto DisplayName() const;
|
||||
[[nodiscard]] auto Description() const;
|
||||
auto GetLogo(winrt::Windows::Foundation::Size const& size) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IAppDisplayInfo>
|
||||
{
|
||||
@@ -965,10 +956,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IAppInfo
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) AppUserModelId() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppDisplayInfo) DisplayInfo() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) PackageFamilyName() const;
|
||||
[[nodiscard]] auto Id() const;
|
||||
[[nodiscard]] auto AppUserModelId() const;
|
||||
[[nodiscard]] auto DisplayInfo() const;
|
||||
[[nodiscard]] auto PackageFamilyName() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IAppInfo>
|
||||
{
|
||||
@@ -977,7 +968,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IAppInfo2
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const;
|
||||
[[nodiscard]] auto Package() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IAppInfo2>
|
||||
{
|
||||
@@ -986,7 +977,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IAppInfo3
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppExecutionContext) ExecutionContext() const;
|
||||
[[nodiscard]] auto ExecutionContext() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IAppInfo3>
|
||||
{
|
||||
@@ -995,7 +986,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IAppInfo4
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(com_array<hstring>) SupportedFileExtensions() const;
|
||||
[[nodiscard]] auto SupportedFileExtensions() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IAppInfo4>
|
||||
{
|
||||
@@ -1004,9 +995,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IAppInfoStatics
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) Current() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) GetFromAppUserModelId(param::hstring const& appUserModelId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) GetFromAppUserModelIdForUser(winrt::Windows::System::User const& user, param::hstring const& appUserModelId) const;
|
||||
[[nodiscard]] auto Current() const;
|
||||
auto GetFromAppUserModelId(param::hstring const& appUserModelId) const;
|
||||
auto GetFromAppUserModelIdForUser(winrt::Windows::System::User const& user, param::hstring const& appUserModelId) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IAppInfoStatics>
|
||||
{
|
||||
@@ -1015,7 +1006,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IAppInstallerInfo
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const;
|
||||
[[nodiscard]] auto Uri() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IAppInstallerInfo>
|
||||
{
|
||||
@@ -1024,9 +1015,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IAppInstance
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Key() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsCurrentInstance() const;
|
||||
WINRT_IMPL_AUTO(void) RedirectActivationTo() const;
|
||||
[[nodiscard]] auto Key() const;
|
||||
[[nodiscard]] auto IsCurrentInstance() const;
|
||||
auto RedirectActivationTo() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IAppInstance>
|
||||
{
|
||||
@@ -1035,11 +1026,11 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IAppInstanceStatics
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInstance) RecommendedInstance() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs) GetActivatedEventArgs() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInstance) FindOrRegisterInstanceForKey(param::hstring const& key) const;
|
||||
WINRT_IMPL_AUTO(void) Unregister() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::AppInstance>) GetInstances() const;
|
||||
[[nodiscard]] auto RecommendedInstance() const;
|
||||
auto GetActivatedEventArgs() const;
|
||||
auto FindOrRegisterInstanceForKey(param::hstring const& key) const;
|
||||
auto Unregister() const;
|
||||
auto GetInstances() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IAppInstanceStatics>
|
||||
{
|
||||
@@ -1048,7 +1039,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_ICameraApplicationManagerStatics
|
||||
{
|
||||
WINRT_IMPL_AUTO(void) ShowInstalledApplicationsUI() const;
|
||||
auto ShowInstalledApplicationsUI() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::ICameraApplicationManagerStatics>
|
||||
{
|
||||
@@ -1057,7 +1048,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IDesignModeStatics
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) DesignModeEnabled() const;
|
||||
[[nodiscard]] auto DesignModeEnabled() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IDesignModeStatics>
|
||||
{
|
||||
@@ -1066,7 +1057,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IDesignModeStatics2
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) DesignMode2Enabled() const;
|
||||
[[nodiscard]] auto DesignMode2Enabled() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IDesignModeStatics2>
|
||||
{
|
||||
@@ -1075,7 +1066,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IEnteredBackgroundEventArgs
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
|
||||
auto GetDeferral() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IEnteredBackgroundEventArgs>
|
||||
{
|
||||
@@ -1084,10 +1075,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) LaunchFullTrustProcessForCurrentAppAsync() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) LaunchFullTrustProcessForCurrentAppAsync(param::hstring const& parameterGroupId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) LaunchFullTrustProcessForAppAsync(param::hstring const& fullTrustPackageRelativeAppId) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) LaunchFullTrustProcessForAppAsync(param::hstring const& fullTrustPackageRelativeAppId, param::hstring const& parameterGroupId) const;
|
||||
auto LaunchFullTrustProcessForCurrentAppAsync() const;
|
||||
auto LaunchFullTrustProcessForCurrentAppAsync(param::hstring const& parameterGroupId) const;
|
||||
auto LaunchFullTrustProcessForAppAsync(param::hstring const& fullTrustPackageRelativeAppId) const;
|
||||
auto LaunchFullTrustProcessForAppAsync(param::hstring const& fullTrustPackageRelativeAppId, param::hstring const& parameterGroupId) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics>
|
||||
{
|
||||
@@ -1096,7 +1087,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_ILeavingBackgroundEventArgs
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
|
||||
auto GetDeferral() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::ILeavingBackgroundEventArgs>
|
||||
{
|
||||
@@ -1105,9 +1096,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_ILimitedAccessFeatureRequestResult
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) FeatureId() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::LimitedAccessFeatureStatus) Status() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) EstimatedRemovalDate() const;
|
||||
[[nodiscard]] auto FeatureId() const;
|
||||
[[nodiscard]] auto Status() const;
|
||||
[[nodiscard]] auto EstimatedRemovalDate() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::ILimitedAccessFeatureRequestResult>
|
||||
{
|
||||
@@ -1116,7 +1107,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_ILimitedAccessFeaturesStatics
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::LimitedAccessFeatureRequestResult) TryUnlockFeature(param::hstring const& featureId, param::hstring const& token, param::hstring const& attestation) const;
|
||||
auto TryUnlockFeature(param::hstring const& featureId, param::hstring const& token, param::hstring const& attestation) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::ILimitedAccessFeaturesStatics>
|
||||
{
|
||||
@@ -1125,10 +1116,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackage
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageId) Id() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) InstalledLocation() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsFramework() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Package>) Dependencies() const;
|
||||
[[nodiscard]] auto Id() const;
|
||||
[[nodiscard]] auto InstalledLocation() const;
|
||||
[[nodiscard]] auto IsFramework() const;
|
||||
[[nodiscard]] auto Dependencies() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackage>
|
||||
{
|
||||
@@ -1137,13 +1128,13 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackage2
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) PublisherDisplayName() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Logo() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsResourcePackage() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsBundle() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsDevelopmentMode() const;
|
||||
[[nodiscard]] auto DisplayName() const;
|
||||
[[nodiscard]] auto PublisherDisplayName() const;
|
||||
[[nodiscard]] auto Description() const;
|
||||
[[nodiscard]] auto Logo() const;
|
||||
[[nodiscard]] auto IsResourcePackage() const;
|
||||
[[nodiscard]] auto IsBundle() const;
|
||||
[[nodiscard]] auto IsDevelopmentMode() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackage2>
|
||||
{
|
||||
@@ -1152,9 +1143,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackage3
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageStatus) Status() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) InstalledDate() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Core::AppListEntry>>) GetAppListEntriesAsync() const;
|
||||
[[nodiscard]] auto Status() const;
|
||||
[[nodiscard]] auto InstalledDate() const;
|
||||
auto GetAppListEntriesAsync() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackage3>
|
||||
{
|
||||
@@ -1163,9 +1154,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackage4
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageSignatureKind) SignatureKind() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsOptional() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) VerifyContentIntegrityAsync() const;
|
||||
[[nodiscard]] auto SignatureKind() const;
|
||||
[[nodiscard]] auto IsOptional() const;
|
||||
auto VerifyContentIntegrityAsync() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackage4>
|
||||
{
|
||||
@@ -1174,11 +1165,11 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackage5
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::PackageContentGroup>>) GetContentGroupsAsync() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageContentGroup>) GetContentGroupAsync(param::hstring const& name) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::PackageContentGroup>>) StageContentGroupsAsync(param::async_iterable<hstring> const& names) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::PackageContentGroup>>) StageContentGroupsAsync(param::async_iterable<hstring> const& names, bool moveToHeadOfQueue) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) SetInUseAsync(bool inUse) const;
|
||||
auto GetContentGroupsAsync() const;
|
||||
auto GetContentGroupAsync(param::hstring const& name) const;
|
||||
auto StageContentGroupsAsync(param::async_iterable<hstring> const& names) const;
|
||||
auto StageContentGroupsAsync(param::async_iterable<hstring> const& names, bool moveToHeadOfQueue) const;
|
||||
auto SetInUseAsync(bool inUse) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackage5>
|
||||
{
|
||||
@@ -1187,8 +1178,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackage6
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInstallerInfo) GetAppInstallerInfo() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageUpdateAvailabilityResult>) CheckUpdateAvailabilityAsync() const;
|
||||
auto GetAppInstallerInfo() const;
|
||||
auto CheckUpdateAvailabilityAsync() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackage6>
|
||||
{
|
||||
@@ -1197,8 +1188,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackage7
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) MutableLocation() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) EffectiveLocation() const;
|
||||
[[nodiscard]] auto MutableLocation() const;
|
||||
[[nodiscard]] auto EffectiveLocation() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackage7>
|
||||
{
|
||||
@@ -1207,18 +1198,18 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackage8
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) EffectiveExternalLocation() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) MachineExternalLocation() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) UserExternalLocation() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) InstalledPath() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) MutablePath() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) EffectivePath() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) EffectiveExternalPath() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) MachineExternalPath() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) UserExternalPath() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) GetLogoAsRandomAccessStreamReference(winrt::Windows::Foundation::Size const& size) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Core::AppListEntry>) GetAppListEntries() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsStub() const;
|
||||
[[nodiscard]] auto EffectiveExternalLocation() const;
|
||||
[[nodiscard]] auto MachineExternalLocation() const;
|
||||
[[nodiscard]] auto UserExternalLocation() const;
|
||||
[[nodiscard]] auto InstalledPath() const;
|
||||
[[nodiscard]] auto MutablePath() const;
|
||||
[[nodiscard]] auto EffectivePath() const;
|
||||
[[nodiscard]] auto EffectiveExternalPath() const;
|
||||
[[nodiscard]] auto MachineExternalPath() const;
|
||||
[[nodiscard]] auto UserExternalPath() const;
|
||||
auto GetLogoAsRandomAccessStreamReference(winrt::Windows::Foundation::Size const& size) const;
|
||||
auto GetAppListEntries() const;
|
||||
[[nodiscard]] auto IsStub() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackage8>
|
||||
{
|
||||
@@ -1227,26 +1218,26 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageCatalog
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::event_token) PackageStaging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStagingEventArgs> const& handler) const;
|
||||
auto PackageStaging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStagingEventArgs> const& handler) const;
|
||||
using PackageStaging_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::IPackageCatalog, &impl::abi_t<winrt::Windows::ApplicationModel::IPackageCatalog>::remove_PackageStaging>;
|
||||
[[nodiscard]] PackageStaging_revoker PackageStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStagingEventArgs> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) PackageStaging(winrt::event_token const& token) const noexcept;
|
||||
WINRT_IMPL_AUTO(winrt::event_token) PackageInstalling(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageInstallingEventArgs> const& handler) const;
|
||||
[[nodiscard]] auto PackageStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStagingEventArgs> const& handler) const;
|
||||
auto PackageStaging(winrt::event_token const& token) const noexcept;
|
||||
auto PackageInstalling(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageInstallingEventArgs> const& handler) const;
|
||||
using PackageInstalling_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::IPackageCatalog, &impl::abi_t<winrt::Windows::ApplicationModel::IPackageCatalog>::remove_PackageInstalling>;
|
||||
[[nodiscard]] PackageInstalling_revoker PackageInstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageInstallingEventArgs> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) PackageInstalling(winrt::event_token const& token) const noexcept;
|
||||
WINRT_IMPL_AUTO(winrt::event_token) PackageUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUpdatingEventArgs> const& handler) const;
|
||||
[[nodiscard]] auto PackageInstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageInstallingEventArgs> const& handler) const;
|
||||
auto PackageInstalling(winrt::event_token const& token) const noexcept;
|
||||
auto PackageUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUpdatingEventArgs> const& handler) const;
|
||||
using PackageUpdating_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::IPackageCatalog, &impl::abi_t<winrt::Windows::ApplicationModel::IPackageCatalog>::remove_PackageUpdating>;
|
||||
[[nodiscard]] PackageUpdating_revoker PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUpdatingEventArgs> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) PackageUpdating(winrt::event_token const& token) const noexcept;
|
||||
WINRT_IMPL_AUTO(winrt::event_token) PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUninstallingEventArgs> const& handler) const;
|
||||
[[nodiscard]] auto PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUpdatingEventArgs> const& handler) const;
|
||||
auto PackageUpdating(winrt::event_token const& token) const noexcept;
|
||||
auto PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUninstallingEventArgs> const& handler) const;
|
||||
using PackageUninstalling_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::IPackageCatalog, &impl::abi_t<winrt::Windows::ApplicationModel::IPackageCatalog>::remove_PackageUninstalling>;
|
||||
[[nodiscard]] PackageUninstalling_revoker PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUninstallingEventArgs> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) PackageUninstalling(winrt::event_token const& token) const noexcept;
|
||||
WINRT_IMPL_AUTO(winrt::event_token) PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStatusChangedEventArgs> const& handler) const;
|
||||
[[nodiscard]] auto PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUninstallingEventArgs> const& handler) const;
|
||||
auto PackageUninstalling(winrt::event_token const& token) const noexcept;
|
||||
auto PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStatusChangedEventArgs> const& handler) const;
|
||||
using PackageStatusChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::IPackageCatalog, &impl::abi_t<winrt::Windows::ApplicationModel::IPackageCatalog>::remove_PackageStatusChanged>;
|
||||
[[nodiscard]] PackageStatusChanged_revoker PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStatusChangedEventArgs> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) PackageStatusChanged(winrt::event_token const& token) const noexcept;
|
||||
[[nodiscard]] auto PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStatusChangedEventArgs> const& handler) const;
|
||||
auto PackageStatusChanged(winrt::event_token const& token) const noexcept;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalog>
|
||||
{
|
||||
@@ -1255,11 +1246,11 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageCatalog2
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::event_token) PackageContentGroupStaging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageContentGroupStagingEventArgs> const& handler) const;
|
||||
auto PackageContentGroupStaging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageContentGroupStagingEventArgs> const& handler) const;
|
||||
using PackageContentGroupStaging_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::IPackageCatalog2, &impl::abi_t<winrt::Windows::ApplicationModel::IPackageCatalog2>::remove_PackageContentGroupStaging>;
|
||||
[[nodiscard]] PackageContentGroupStaging_revoker PackageContentGroupStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageContentGroupStagingEventArgs> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) PackageContentGroupStaging(winrt::event_token const& token) const noexcept;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageCatalogAddOptionalPackageResult>) AddOptionalPackageAsync(param::hstring const& optionalPackageFamilyName) const;
|
||||
[[nodiscard]] auto PackageContentGroupStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageContentGroupStagingEventArgs> const& handler) const;
|
||||
auto PackageContentGroupStaging(winrt::event_token const& token) const noexcept;
|
||||
auto AddOptionalPackageAsync(param::hstring const& optionalPackageFamilyName) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalog2>
|
||||
{
|
||||
@@ -1268,7 +1259,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageCatalog3
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageCatalogRemoveOptionalPackagesResult>) RemoveOptionalPackagesAsync(param::async_iterable<hstring> const& optionalPackageFamilyNames) const;
|
||||
auto RemoveOptionalPackagesAsync(param::async_iterable<hstring> const& optionalPackageFamilyNames) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalog3>
|
||||
{
|
||||
@@ -1277,8 +1268,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageCatalog4
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::ApplicationModel::PackageCatalogAddResourcePackageResult, winrt::Windows::ApplicationModel::PackageInstallProgress>) AddResourcePackageAsync(param::hstring const& resourcePackageFamilyName, param::hstring const& resourceID, winrt::Windows::ApplicationModel::AddResourcePackageOptions const& options) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageCatalogRemoveResourcePackagesResult>) RemoveResourcePackagesAsync(param::async_iterable<winrt::Windows::ApplicationModel::Package> const& resourcePackages) const;
|
||||
auto AddResourcePackageAsync(param::hstring const& resourcePackageFamilyName, param::hstring const& resourceID, winrt::Windows::ApplicationModel::AddResourcePackageOptions const& options) const;
|
||||
auto RemoveResourcePackagesAsync(param::async_iterable<winrt::Windows::ApplicationModel::Package> const& resourcePackages) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalog4>
|
||||
{
|
||||
@@ -1287,8 +1278,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageCatalogAddOptionalPackageResult
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
|
||||
[[nodiscard]] auto Package() const;
|
||||
[[nodiscard]] auto ExtendedError() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalogAddOptionalPackageResult>
|
||||
{
|
||||
@@ -1297,9 +1288,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageCatalogAddResourcePackageResult
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsComplete() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
|
||||
[[nodiscard]] auto Package() const;
|
||||
[[nodiscard]] auto IsComplete() const;
|
||||
[[nodiscard]] auto ExtendedError() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalogAddResourcePackageResult>
|
||||
{
|
||||
@@ -1308,8 +1299,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageCatalogRemoveOptionalPackagesResult
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Package>) PackagesRemoved() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
|
||||
[[nodiscard]] auto PackagesRemoved() const;
|
||||
[[nodiscard]] auto ExtendedError() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalogRemoveOptionalPackagesResult>
|
||||
{
|
||||
@@ -1318,8 +1309,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageCatalogRemoveResourcePackagesResult
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Package>) PackagesRemoved() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
|
||||
[[nodiscard]] auto PackagesRemoved() const;
|
||||
[[nodiscard]] auto ExtendedError() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalogRemoveResourcePackagesResult>
|
||||
{
|
||||
@@ -1328,8 +1319,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageCatalogStatics
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageCatalog) OpenForCurrentPackage() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageCatalog) OpenForCurrentUser() const;
|
||||
auto OpenForCurrentPackage() const;
|
||||
auto OpenForCurrentUser() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalogStatics>
|
||||
{
|
||||
@@ -1338,10 +1329,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageContentGroup
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageContentGroupState) State() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsRequired() const;
|
||||
[[nodiscard]] auto Package() const;
|
||||
[[nodiscard]] auto Name() const;
|
||||
[[nodiscard]] auto State() const;
|
||||
[[nodiscard]] auto IsRequired() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageContentGroup>
|
||||
{
|
||||
@@ -1350,13 +1341,13 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(double) Progress() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsComplete() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ErrorCode() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentGroupName() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsContentGroupRequired() const;
|
||||
[[nodiscard]] auto ActivityId() const;
|
||||
[[nodiscard]] auto Package() const;
|
||||
[[nodiscard]] auto Progress() const;
|
||||
[[nodiscard]] auto IsComplete() const;
|
||||
[[nodiscard]] auto ErrorCode() const;
|
||||
[[nodiscard]] auto ContentGroupName() const;
|
||||
[[nodiscard]] auto IsContentGroupRequired() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs>
|
||||
{
|
||||
@@ -1365,7 +1356,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageContentGroupStatics
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) RequiredGroupName() const;
|
||||
[[nodiscard]] auto RequiredGroupName() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageContentGroupStatics>
|
||||
{
|
||||
@@ -1374,14 +1365,14 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageId
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageVersion) Version() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::ProcessorArchitecture) Architecture() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) ResourceId() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Publisher() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) PublisherId() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) FullName() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) FamilyName() const;
|
||||
[[nodiscard]] auto Name() const;
|
||||
[[nodiscard]] auto Version() const;
|
||||
[[nodiscard]] auto Architecture() const;
|
||||
[[nodiscard]] auto ResourceId() const;
|
||||
[[nodiscard]] auto Publisher() const;
|
||||
[[nodiscard]] auto PublisherId() const;
|
||||
[[nodiscard]] auto FullName() const;
|
||||
[[nodiscard]] auto FamilyName() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageId>
|
||||
{
|
||||
@@ -1390,8 +1381,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageIdWithMetadata
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductId() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Author() const;
|
||||
[[nodiscard]] auto ProductId() const;
|
||||
[[nodiscard]] auto Author() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageIdWithMetadata>
|
||||
{
|
||||
@@ -1400,11 +1391,11 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageInstallingEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(double) Progress() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsComplete() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ErrorCode() const;
|
||||
[[nodiscard]] auto ActivityId() const;
|
||||
[[nodiscard]] auto Package() const;
|
||||
[[nodiscard]] auto Progress() const;
|
||||
[[nodiscard]] auto IsComplete() const;
|
||||
[[nodiscard]] auto ErrorCode() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageInstallingEventArgs>
|
||||
{
|
||||
@@ -1413,11 +1404,11 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageStagingEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(double) Progress() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsComplete() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ErrorCode() const;
|
||||
[[nodiscard]] auto ActivityId() const;
|
||||
[[nodiscard]] auto Package() const;
|
||||
[[nodiscard]] auto Progress() const;
|
||||
[[nodiscard]] auto IsComplete() const;
|
||||
[[nodiscard]] auto ErrorCode() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageStagingEventArgs>
|
||||
{
|
||||
@@ -1426,7 +1417,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageStatics
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Current() const;
|
||||
[[nodiscard]] auto Current() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageStatics>
|
||||
{
|
||||
@@ -1435,18 +1426,18 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageStatus
|
||||
{
|
||||
WINRT_IMPL_AUTO(bool) VerifyIsOK() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) NotAvailable() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) PackageOffline() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) DataOffline() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) Disabled() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) NeedsRemediation() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) LicenseIssue() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) Modified() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) Tampered() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) DependencyIssue() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) Servicing() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) DeploymentInProgress() const;
|
||||
auto VerifyIsOK() const;
|
||||
[[nodiscard]] auto NotAvailable() const;
|
||||
[[nodiscard]] auto PackageOffline() const;
|
||||
[[nodiscard]] auto DataOffline() const;
|
||||
[[nodiscard]] auto Disabled() const;
|
||||
[[nodiscard]] auto NeedsRemediation() const;
|
||||
[[nodiscard]] auto LicenseIssue() const;
|
||||
[[nodiscard]] auto Modified() const;
|
||||
[[nodiscard]] auto Tampered() const;
|
||||
[[nodiscard]] auto DependencyIssue() const;
|
||||
[[nodiscard]] auto Servicing() const;
|
||||
[[nodiscard]] auto DeploymentInProgress() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageStatus>
|
||||
{
|
||||
@@ -1455,7 +1446,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageStatus2
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsPartiallyStaged() const;
|
||||
[[nodiscard]] auto IsPartiallyStaged() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageStatus2>
|
||||
{
|
||||
@@ -1464,7 +1455,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageStatusChangedEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const;
|
||||
[[nodiscard]] auto Package() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageStatusChangedEventArgs>
|
||||
{
|
||||
@@ -1473,11 +1464,11 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageUninstallingEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(double) Progress() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsComplete() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ErrorCode() const;
|
||||
[[nodiscard]] auto ActivityId() const;
|
||||
[[nodiscard]] auto Package() const;
|
||||
[[nodiscard]] auto Progress() const;
|
||||
[[nodiscard]] auto IsComplete() const;
|
||||
[[nodiscard]] auto ErrorCode() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageUninstallingEventArgs>
|
||||
{
|
||||
@@ -1486,8 +1477,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageUpdateAvailabilityResult
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageUpdateAvailability) Availability() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
|
||||
[[nodiscard]] auto Availability() const;
|
||||
[[nodiscard]] auto ExtendedError() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageUpdateAvailabilityResult>
|
||||
{
|
||||
@@ -1496,12 +1487,12 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageUpdatingEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) ActivityId() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) SourcePackage() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) TargetPackage() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(double) Progress() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsComplete() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ErrorCode() const;
|
||||
[[nodiscard]] auto ActivityId() const;
|
||||
[[nodiscard]] auto SourcePackage() const;
|
||||
[[nodiscard]] auto TargetPackage() const;
|
||||
[[nodiscard]] auto Progress() const;
|
||||
[[nodiscard]] auto IsComplete() const;
|
||||
[[nodiscard]] auto ErrorCode() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageUpdatingEventArgs>
|
||||
{
|
||||
@@ -1510,9 +1501,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IPackageWithMetadata
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) InstallDate() const;
|
||||
WINRT_IMPL_AUTO(hstring) GetThumbnailToken() const;
|
||||
WINRT_IMPL_AUTO(void) Launch(param::hstring const& parameters) const;
|
||||
[[nodiscard]] auto InstallDate() const;
|
||||
auto GetThumbnailToken() const;
|
||||
auto Launch(param::hstring const& parameters) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IPackageWithMetadata>
|
||||
{
|
||||
@@ -1521,10 +1512,10 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IStartupTask
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::StartupTaskState>) RequestEnableAsync() const;
|
||||
WINRT_IMPL_AUTO(void) Disable() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::StartupTaskState) State() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) TaskId() const;
|
||||
auto RequestEnableAsync() const;
|
||||
auto Disable() const;
|
||||
[[nodiscard]] auto State() const;
|
||||
[[nodiscard]] auto TaskId() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IStartupTask>
|
||||
{
|
||||
@@ -1533,8 +1524,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_IStartupTaskStatics
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::StartupTask>>) GetForCurrentPackageAsync() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::StartupTask>) GetAsync(param::hstring const& taskId) const;
|
||||
auto GetForCurrentPackageAsync() const;
|
||||
auto GetAsync(param::hstring const& taskId) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::IStartupTaskStatics>
|
||||
{
|
||||
@@ -1543,7 +1534,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_ISuspendingDeferral
|
||||
{
|
||||
WINRT_IMPL_AUTO(void) Complete() const;
|
||||
auto Complete() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::ISuspendingDeferral>
|
||||
{
|
||||
@@ -1552,7 +1543,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_ISuspendingEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SuspendingOperation) SuspendingOperation() const;
|
||||
[[nodiscard]] auto SuspendingOperation() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::ISuspendingEventArgs>
|
||||
{
|
||||
@@ -1561,8 +1552,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_ApplicationModel_ISuspendingOperation
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SuspendingDeferral) GetDeferral() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Deadline() const;
|
||||
auto GetDeferral() const;
|
||||
[[nodiscard]] auto Deadline() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::ApplicationModel::ISuspendingOperation>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user