2022-10-13 13:05:43 +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.
|
|
|
|
|
|
|
2023-02-27 19:11:57 +01:00
|
|
|
|
using System;
|
2022-10-13 13:05:43 +02:00
|
|
|
|
|
2024-04-26 19:41:44 +02:00
|
|
|
|
namespace HostsUILib.Settings
|
2022-10-13 13:05:43 +02:00
|
|
|
|
{
|
|
|
|
|
|
public interface IUserSettings
|
|
|
|
|
|
{
|
|
|
|
|
|
public bool ShowStartupWarning { get; }
|
|
|
|
|
|
|
2023-02-27 19:11:57 +01:00
|
|
|
|
public bool LoopbackDuplicates { get; }
|
|
|
|
|
|
|
2023-06-06 17:11:37 +02:00
|
|
|
|
public HostsAdditionalLinesPosition AdditionalLinesPosition { get; }
|
|
|
|
|
|
|
|
|
|
|
|
public HostsEncoding Encoding { get; }
|
2023-02-27 19:11:57 +01:00
|
|
|
|
|
|
|
|
|
|
event EventHandler LoopbackDuplicatesChanged;
|
2024-04-26 19:41:44 +02:00
|
|
|
|
|
|
|
|
|
|
public delegate void OpenSettingsFunction();
|
2025-08-19 00:58:10 -05:00
|
|
|
|
|
|
|
|
|
|
public bool NoLeadingSpaces { get; }
|
2022-10-13 13:05:43 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|