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