using YukkuriMovieMaker.UndoRedo; namespace UndoTree; internal enum UndoRedoHistorySource { Name, Type, Events, } internal interface IUndoRedoHistory { UndoRedoHistorySource Source { get; } bool CanReplay { get; } bool CanRewriteRedo { get; } bool IsConsistent { get; } IReadOnlyList Undo { get; } IReadOnlyList Redo { get; } IReadOnlyList CommandsOf(object handle); bool TrySetRedo(IReadOnlyList nextFirst); }