Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Flow.Launcher.Core/Plugin/JsonRPCV2Models/JsonRPCPublicAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,5 +175,15 @@ public void BackToQueryResults()
{
_api.BackToQueryResults();
}

public void StartLoadingBar()
{
_api.StartLoadingBar();
}

public void StopLoadingBar()
{
_api.StopLoadingBar();
}
}
}
10 changes: 10 additions & 0 deletions Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -334,5 +334,15 @@ public interface IPublicAPI
/// <param name="cancelProgress">When user cancel the progress, this action will be called.</param>
/// <returns></returns>
public Task ShowProgressBoxAsync(string caption, Func<Action<double>, Task> reportProgressAsync, Action cancelProgress = null);

/// <summary>
/// Start the loading bar in main window
/// </summary>
public void StartLoadingBar();

/// <summary>
/// Stop the loading bar in main window
/// </summary>
public void StopLoadingBar();
}
}
Loading