2024-04-25 08:02:05 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Flow.Launcher.Infrastructure.Hotkey;
|
|
|
|
|
|
|
2024-04-26 05:42:20 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Interface that you should implement in your settings class to be able to pass it to
|
|
|
|
|
|
/// <c>Flow.Launcher.HotkeyControlDialog</c>. It allows the dialog to display the hotkeys that have already been
|
|
|
|
|
|
/// registered, and optionally provide a way to unregister them.
|
|
|
|
|
|
/// </summary>
|
2024-04-25 08:02:05 +00:00
|
|
|
|
public interface IHotkeySettings
|
|
|
|
|
|
{
|
2024-04-26 05:42:20 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// A list of hotkeys that have already been registered. The dialog will display these hotkeys and provide a way to
|
|
|
|
|
|
/// unregister them.
|
|
|
|
|
|
/// </summary>
|
2024-04-25 08:02:05 +00:00
|
|
|
|
public List<RegisteredHotkeyData> RegisteredHotkeys { get; }
|
|
|
|
|
|
}
|