Flow.Launcher/Flow.Launcher.Plugin/IProgressBoxEx.cs
2025-01-09 16:37:52 +08:00

22 lines
529 B
C#

using System.Threading.Tasks;
namespace Flow.Launcher.Plugin;
/// <summary>
/// Interface for progress box
/// </summary>
public interface IProgressBoxEx
{
/// <summary>
/// Show progress box.
/// </summary>
/// <param name="progress">
/// Progress value. Should be between 0 and 100. When progress is 100, the progress box will be closed.
/// </param>
public void ReportProgress(double progress);
/// <summary>
/// Close progress box.
/// </summary>
public Task CloseAsync();
}