/ src / settings-ui / Settings.UI.Library / PowerLauncherPluginSettings.cs
PowerLauncherPluginSettings.cs
 1  // Copyright (c) Microsoft Corporation
 2  // The Microsoft Corporation licenses this file to you under the MIT license.
 3  // See the LICENSE file in the project root for more information.
 4  
 5  using System.Collections.Generic;
 6  
 7  namespace Microsoft.PowerToys.Settings.UI.Library
 8  {
 9      public class PowerLauncherPluginSettings
10      {
11          public string Id { get; set; }
12  
13          public string Name { get; set; }
14  
15          public string Description { get; set; }
16  
17          public string Version { get; set; }
18  
19          public string Author { get; set; }
20  
21          public string Website { get; set; }
22  
23          public bool Disabled { get; set; }
24  
25          // Use to communicate the state to settings UI (Using int type because we can't reference GPOWrapper.)
26          // This property should never be used inside of PT Run to get the policy state as it can be manipulated by changing the settings.json file.
27          public int EnabledPolicyUiState { get; set; }
28  
29          public bool IsGlobal { get; set; }
30  
31          public string ActionKeyword { get; set; }
32  
33          public int WeightBoost { get; set; }
34  
35          public string IconPathDark { get; set; }
36  
37          public string IconPathLight { get; set; }
38  
39          public IEnumerable<PluginAdditionalOption> AdditionalOptions { get; set; }
40      }
41  }