FancyZonesSettings.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.Text.Json.Serialization; 6 7 using Microsoft.PowerToys.Settings.UI.Library.Interfaces; 8 9 namespace Microsoft.PowerToys.Settings.UI.Library 10 { 11 public class FancyZonesSettings : BasePTModuleSettings, ISettingsConfig 12 { 13 public const string ModuleName = "FancyZones"; 14 15 public FancyZonesSettings() 16 { 17 Version = "1.0"; 18 Name = ModuleName; 19 Properties = new FZConfigProperties(); 20 } 21 22 [JsonPropertyName("properties")] 23 public FZConfigProperties Properties { get; set; } 24 25 public string GetModuleName() 26 { 27 return Name; 28 } 29 30 // This can be utilized in the future if the settings.json file is to be modified/deleted. 31 public bool UpgradeSettingsConfiguration() 32 { 33 return false; 34 } 35 } 36 }