mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
51 lines
3.2 KiB
C++
51 lines
3.2 KiB
C++
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
|
|
|
|
#pragma once
|
|
#ifndef WINRT_Windows_Phone_Management_Deployment_2_H
|
|
#define WINRT_Windows_Phone_Management_Deployment_2_H
|
|
#include "winrt/impl/Windows.Foundation.1.h"
|
|
#include "winrt/impl/Windows.Foundation.Collections.1.h"
|
|
#include "winrt/impl/Windows.Management.Deployment.1.h"
|
|
#include "winrt/impl/Windows.Phone.Management.Deployment.1.h"
|
|
WINRT_EXPORT namespace winrt::Windows::Phone::Management::Deployment
|
|
{
|
|
struct __declspec(empty_bases) Enterprise : winrt::Windows::Phone::Management::Deployment::IEnterprise
|
|
{
|
|
Enterprise(std::nullptr_t) noexcept {}
|
|
Enterprise(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Phone::Management::Deployment::IEnterprise(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct EnterpriseEnrollmentManager
|
|
{
|
|
EnterpriseEnrollmentManager() = delete;
|
|
[[nodiscard]] static auto EnrolledEnterprises();
|
|
[[nodiscard]] static auto CurrentEnterprise();
|
|
static auto ValidateEnterprisesAsync();
|
|
static auto RequestEnrollmentAsync(param::hstring const& enrollmentToken);
|
|
static auto RequestUnenrollmentAsync(winrt::Windows::Phone::Management::Deployment::Enterprise const& enterprise);
|
|
};
|
|
struct __declspec(empty_bases) EnterpriseEnrollmentResult : winrt::Windows::Phone::Management::Deployment::IEnterpriseEnrollmentResult
|
|
{
|
|
EnterpriseEnrollmentResult(std::nullptr_t) noexcept {}
|
|
EnterpriseEnrollmentResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Phone::Management::Deployment::IEnterpriseEnrollmentResult(ptr, take_ownership_from_abi) {}
|
|
};
|
|
struct InstallationManager
|
|
{
|
|
InstallationManager() = delete;
|
|
static auto AddPackageAsync(param::hstring const& title, winrt::Windows::Foundation::Uri const& sourceLocation);
|
|
static auto AddPackageAsync(param::hstring const& title, winrt::Windows::Foundation::Uri const& sourceLocation, param::hstring const& instanceId, param::hstring const& offerId, winrt::Windows::Foundation::Uri const& license);
|
|
static auto GetPendingPackageInstalls();
|
|
static auto FindPackagesForCurrentPublisher();
|
|
static auto FindPackages();
|
|
static auto RemovePackageAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::RemovalOptions const& removalOptions);
|
|
static auto RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions);
|
|
static auto FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher);
|
|
};
|
|
struct __declspec(empty_bases) PackageInstallResult : winrt::Windows::Phone::Management::Deployment::IPackageInstallResult,
|
|
impl::require<PackageInstallResult, winrt::Windows::Phone::Management::Deployment::IPackageInstallResult2>
|
|
{
|
|
PackageInstallResult(std::nullptr_t) noexcept {}
|
|
PackageInstallResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Phone::Management::Deployment::IPackageInstallResult(ptr, take_ownership_from_abi) {}
|
|
};
|
|
}
|
|
#endif
|