Files
PowerToys/src/settings-ui/Settings.UI.Library/PowerLauncherPluginSettings.cs

38 lines
1.2 KiB
C#
Raw Normal View History

2021-02-10 15:12:42 +02:00
// 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.
2021-02-26 13:21:58 +02:00
using System.Collections.Generic;
2021-02-10 15:12:42 +02:00
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 Author { 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; }
2021-02-10 15:12:42 +02:00
public bool IsGlobal { get; set; }
public string ActionKeyword { get; set; }
public int WeightBoost { get; set; }
2021-02-10 15:12:42 +02:00
public string IconPathDark { get; set; }
public string IconPathLight { get; set; }
2021-02-26 13:21:58 +02:00
public IEnumerable<PluginAdditionalOption> AdditionalOptions { get; set; }
2021-02-10 15:12:42 +02:00
}
}