winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

ConfigurationCommon.h (667B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "ExecutionContext.h"
      5 #include <winrt/Microsoft.Management.Configuration.h>
      6 
      7 namespace AppInstaller::CLI
      8 {
      9     namespace Configuration
     10     {
     11         // Validates common arguments between configuration commands.
     12         void ValidateCommonArguments(Execution::Args& execArgs, bool requireConfigurationSetChoice = false);
     13 
     14         // Sets the module path to install modules in the set processor.
     15         void SetModulePath(Execution::Context& context, winrt::Microsoft::Management::Configuration::IConfigurationSetProcessorFactory const& factory);
     16     }
     17 }