2025-01-09 08:37:52 +00:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Flow.Launcher.Plugin;
|
2025-01-04 16:08:56 +00:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Interface for progress box
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public interface IProgressBoxEx
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2025-01-09 04:13:46 +00:00
|
|
|
|
/// Show progress box.
|
2025-01-04 16:08:56 +00:00
|
|
|
|
/// </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>
|
2025-01-09 04:13:46 +00:00
|
|
|
|
/// Close progress box.
|
2025-01-04 16:08:56 +00:00
|
|
|
|
/// </summary>
|
2025-01-09 08:37:52 +00:00
|
|
|
|
public Task CloseAsync();
|
2025-01-04 16:08:56 +00:00
|
|
|
|
}
|