1 #ifndef DNAI_INTERFACES_ICOMMAND_H
2 #define DNAI_INTERFACES_ICOMMAND_H
23 virtual void execute()
const = 0;
38 virtual QString
infos()
const = 0;
43 virtual bool isSave()
const = 0;
51 #endif // DNAI_INTERFACES_ICOMMAND_H
Definition: commandmanager.h:14
virtual bool isSave() const =0
Is the command is in a save state.
Definition: debugdecorator.h:9
virtual QString infos() const =0
Get display info for this command.
virtual void executeSave()=0
Save current state of the command for the reverse unExcute()
virtual void unExcute() const =0
Reverse the execute() function.
virtual void execute() const =0
Execute the command.
virtual ~ICommand()=default
Definition: icommand.h:15