// 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; namespace HostsUILib.Settings { public interface IUserSettings { public bool ShowStartupWarning { get; } public bool LoopbackDuplicates { get; } public HostsAdditionalLinesPosition AdditionalLinesPosition { get; } public HostsEncoding Encoding { get; } public bool BackupHosts { get; } public string BackupPath { get; } public HostsDeleteBackupMode DeleteBackupsMode { get; } public int DeleteBackupsDays { get; } public int DeleteBackupsCount { get; } event EventHandler LoopbackDuplicatesChanged; public delegate void OpenSettingsFunction(); public bool NoLeadingSpaces { get; } } }