winget-cli

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

SettingsFlow.h (1422B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "ExecutionContext.h"
      5 
      6 namespace AppInstaller::CLI::Workflow
      7 {
      8     // Enables an admin setting.
      9     // Required Args: AdminSettingEnable
     10     // Inputs: None
     11     // Outputs: None
     12     void EnableAdminSetting(Execution::Context& context);
     13 
     14     // Disables an admin setting.
     15     // Required Args: AdminSettingDisable
     16     // Inputs: None
     17     // Outputs: None
     18     void DisableAdminSetting(Execution::Context& context);
     19 
     20     // Sets the value of an admin setting.
     21     // Required Args: SettingName, SettingValue
     22     // Inputs: None
     23     // Outputs: None
     24     void SetAdminSetting(Execution::Context& context);
     25 
     26     // Resets an admin setting to the default.
     27     // Required Args: SettingName
     28     // Inputs: None
     29     // Outputs: None
     30     void ResetAdminSetting(Execution::Context& context);
     31 
     32     // Resets all admin settings to the default.
     33     // Required Args: None
     34     // Inputs: None
     35     // Outputs: None
     36     void ResetAllAdminSettings(Execution::Context& context);
     37 
     38     // Opens the user settings.
     39     // Required Args: None
     40     // Inputs: None
     41     // Outputs: None
     42     void OpenUserSetting(Execution::Context& context);
     43 
     44     // Lists the state of settings.
     45     // Required Args: None
     46     // Inputs: None
     47     // Outputs: None
     48     void ExportSettings(Execution::Context& context);
     49 }