Flow.Launcher/Flow.Launcher.Plugin/Interfaces/IContextMenu.cs

18 lines
589 B
C#
Raw Permalink Normal View History

2023-06-18 19:53:01 +00:00
using System.Collections.Generic;
2021-07-07 17:47:20 +00:00
namespace Flow.Launcher.Plugin
{
2023-06-18 19:53:01 +00:00
/// <summary>
/// Adds support for presenting additional options for a given <see cref="Result"/> from a context menu.
/// </summary>
2021-07-07 17:47:20 +00:00
public interface IContextMenu : IFeatures
{
2023-06-18 19:53:01 +00:00
/// <summary>
/// Load context menu items for the given result.
/// </summary>
/// <param name="selectedResult">
/// The <see cref="Result"/> for which the user has activated the context menu.
/// </param>
2021-07-07 17:47:20 +00:00
List<Result> LoadContextMenus(Result selectedResult);
}
}