2025-01-04 16:08:56 +00:00
|
|
|
|
namespace Flow.Launcher.Plugin;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Interface for progress box
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public interface IProgressBoxEx
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2025-01-04 16:13:32 +00:00
|
|
|
|
/// Show progress box. It should be called from the main ui thread.
|
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-04 16:13:32 +00:00
|
|
|
|
/// Close progress box. It should be called from the main ui thread.
|
2025-01-04 16:08:56 +00:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public void Close();
|
|
|
|
|
|
}
|