-
Notifications
You must be signed in to change notification settings - Fork 6.9k
/
Copy pathPowerLauncherPluginSettings.cs
41 lines (26 loc) · 1.25 KB
/
PowerLauncherPluginSettings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
namespace Microsoft.PowerToys.Settings.UI.Library
{
public class PowerLauncherPluginSettings
{
public string Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public string Version { get; set; }
public string Author { get; set; }
public string Website { get; set; }
public bool Disabled { get; set; }
// Use to communicate the state to settings UI (Using int type because we can't reference GPOWrapper.)
// 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.
public int EnabledPolicyUiState { get; set; }
public bool IsGlobal { get; set; }
public string ActionKeyword { get; set; }
public int WeightBoost { get; set; }
public string IconPathDark { get; set; }
public string IconPathLight { get; set; }
public IEnumerable<PluginAdditionalOption> AdditionalOptions { get; set; }
}
}