45 lines
No EOL
1 KiB
C#
45 lines
No EOL
1 KiB
C#
using System;
|
|
using System.ComponentModel;
|
|
|
|
namespace DjRedo.Controls
|
|
{
|
|
public interface IStepData : INotifyPropertyChanged
|
|
{
|
|
/// <summary>
|
|
/// Description of the step
|
|
/// </summary>
|
|
string Description { get; }
|
|
/// <summary>
|
|
/// Order of the step
|
|
/// </summary>
|
|
int Order { get; }
|
|
/// <summary>
|
|
/// Progress of the step
|
|
/// </summary>
|
|
float Progress { get; set; }
|
|
/// <summary>
|
|
/// StepName
|
|
/// </summary>
|
|
string StepName { get; }
|
|
/// <summary>
|
|
/// True if the length of the step is unknown
|
|
/// </summary>
|
|
bool InfiniteSpin { get; }
|
|
/// <summary>
|
|
/// Get the current State of the step
|
|
/// </summary>
|
|
DjRedoStepState State { get; set; }
|
|
}
|
|
|
|
public enum DjRedoStepState
|
|
{
|
|
NotStarted,
|
|
Starting,
|
|
Started,
|
|
Ending,
|
|
Ended,
|
|
Failed,
|
|
Successed,
|
|
Stopped
|
|
}
|
|
} |