2025-08-21 18:24:20 +08: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.
|
|
|
|
|
|
2025-09-03 20:47:33 +02:00
|
|
|
using System;
|
2025-08-21 18:24:20 +08:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Microsoft.CommandPalette.Extensions.Toolkit;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.CmdPal.Ext.WebSearch.Helpers;
|
|
|
|
|
|
|
|
|
|
public interface ISettingsInterface
|
|
|
|
|
{
|
2025-09-03 20:47:33 +02:00
|
|
|
event EventHandler? HistoryChanged;
|
|
|
|
|
|
2025-08-21 18:24:20 +08:00
|
|
|
public bool GlobalIfURI { get; }
|
|
|
|
|
|
2025-09-03 20:47:33 +02:00
|
|
|
public int HistoryItemCount { get; }
|
2025-08-21 18:24:20 +08:00
|
|
|
|
2025-09-03 20:47:33 +02:00
|
|
|
public IReadOnlyList<HistoryItem> HistoryItems { get; }
|
2025-08-21 18:24:20 +08:00
|
|
|
|
2025-11-30 01:59:58 +01:00
|
|
|
string CustomSearchUri { get; }
|
|
|
|
|
|
2025-09-03 20:47:33 +02:00
|
|
|
public void AddHistoryItem(HistoryItem historyItem);
|
2025-08-21 18:24:20 +08:00
|
|
|
}
|