21 lines
342 B
C#
21 lines
342 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Io.Github.Kerwinxu.LibShapes.Core.Command
|
|
{
|
|
public interface ICommandRecorder
|
|
{
|
|
void addCommand(ICommand command);
|
|
|
|
void Undo();
|
|
|
|
void Redo();
|
|
|
|
bool isUndoAble();
|
|
|
|
bool isRedoAble();
|
|
}
|
|
}
|