Command status

This commit is contained in:
2022-02-02 18:59:37 +01:00
parent d795ddcd11
commit f40c84a123
21 changed files with 331 additions and 70 deletions

View File

@@ -1,10 +1,14 @@
using AsyncEvent;
using FileTime.Core.Timeline;
namespace FileTime.Core.Command
{
public interface ICommand
{
string DisplayLabel { get; }
Task<CanCommandRun> CanRun(PointInTime startPoint);
Task<PointInTime> SimulateCommand(PointInTime startPoint);
int Progress { get; }
AsyncEventHandler ProgressChanged { get; }
}
}