IUserSettings.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; 6 using System.Collections.Generic; 7 using System.Threading.Tasks; 8 9 using AdvancedPaste.Models; 10 using Microsoft.PowerToys.Settings.UI.Library; 11 12 namespace AdvancedPaste.Settings 13 { 14 public interface IUserSettings 15 { 16 public bool IsAIEnabled { get; } 17 18 public bool ShowCustomPreview { get; } 19 20 public bool CloseAfterLosingFocus { get; } 21 22 public bool EnableClipboardPreview { get; } 23 24 public IReadOnlyList<AdvancedPasteCustomAction> CustomActions { get; } 25 26 public IReadOnlyList<PasteFormats> AdditionalActions { get; } 27 28 public PasteAIConfiguration PasteAIConfiguration { get; } 29 30 public event EventHandler Changed; 31 32 Task SetActiveAIProviderAsync(string providerId); 33 } 34 }