2021-03-24 08:10:37 -07: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-03-24 07:42:15 -07:00
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
using Microsoft.PowerToys.Settings.UI.Library.Interfaces;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.PowerToys.Settings.UI.Library
|
|
|
|
|
|
{
|
|
|
|
|
|
public class EspressoSettings : BasePTModuleSettings, ISettingsConfig
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string ModuleName = "Espresso";
|
|
|
|
|
|
public const string ModuleVersion = "1.0.0";
|
|
|
|
|
|
|
|
|
|
|
|
public EspressoSettings()
|
|
|
|
|
|
{
|
|
|
|
|
|
Name = ModuleName;
|
|
|
|
|
|
Version = ModuleVersion;
|
|
|
|
|
|
Properties = new EspressoProperties();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[JsonPropertyName("properties")]
|
|
|
|
|
|
public EspressoProperties Properties { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public string GetModuleName()
|
|
|
|
|
|
{
|
|
|
|
|
|
return Name;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public bool UpgradeSettingsConfiguration()
|
|
|
|
|
|
{
|
|
|
|
|
|
return false;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|