Skip to content

Commit

Permalink
remove com
Browse files Browse the repository at this point in the history
  • Loading branch information
ryfu-msft committed Oct 20, 2023
1 parent bce8e3b commit 52b7bf1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 22 deletions.
8 changes: 0 additions & 8 deletions src/Microsoft.Management.Deployment/InstallOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,5 @@ namespace winrt::Microsoft::Management::Deployment::implementation
{
return m_skipDependencies;
}
void InstallOptions::AllowReboot(bool value)
{
m_allowReboot = value;
}
bool InstallOptions::AllowReboot()
{
return m_allowReboot;
}
CoCreatableMicrosoftManagementDeploymentClass(InstallOptions);
}
3 changes: 0 additions & 3 deletions src/Microsoft.Management.Deployment/InstallOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ namespace winrt::Microsoft::Management::Deployment::implementation
void AcceptPackageAgreements(bool value);
bool SkipDependencies();
void SkipDependencies(bool value);
bool AllowReboot();
void AllowReboot(bool value);

#if !defined(INCLUDE_ONLY_INTERFACE_METHODS)
private:
Expand All @@ -67,7 +65,6 @@ namespace winrt::Microsoft::Management::Deployment::implementation
bool m_force = false;
bool m_acceptPackageAgreements = true;
bool m_skipDependencies = false;
bool m_allowReboot = false;
#endif
};
}
Expand Down
5 changes: 0 additions & 5 deletions src/Microsoft.Management.Deployment/PackageManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,6 @@ namespace winrt::Microsoft::Management::Deployment::implementation
{
context->Args.AddArg(Execution::Args::Type::SkipDependencies);
}

if (options.AllowReboot())
{
context->Args.AddArg(Execution::Args::Type::AllowReboot);
}
}
else
{
Expand Down
6 changes: 0 additions & 6 deletions src/Microsoft.Management.Deployment/PackageManager.idl
Original file line number Diff line number Diff line change
Expand Up @@ -906,12 +906,6 @@ namespace Microsoft.Management.Deployment
/// The package installer type.
PackageInstallerType InstallerType;
}

[contract(Microsoft.Management.Deployment.WindowsPackageManagerContract, 9)]
{
// Allow a reboot to complete an installation if applicable.
Boolean AllowReboot;
}
}

[contract(Microsoft.Management.Deployment.WindowsPackageManagerContract, 4)]
Expand Down

0 comments on commit 52b7bf1

Please sign in to comment.