Engauge Digitizer 2
|
File that manages a command stack for regression testing of file import/open/export/close. More...
#include <FileCmdScript.h>
Public Member Functions | |
FileCmdScript (const QString &fileCmdScriptFile) | |
Single constructor. | |
~FileCmdScript () | |
bool | canRedo () const |
Returns true if there is at least one command on the stack. | |
void | redo (MainWindow &mainWindow) |
Apply the next command. Requires non-empty stack. | |
File that manages a command stack for regression testing of file import/open/export/close.
This command stack (with a lifetime the same as the application's) is independent of the command stack in CmdMediator (which is Document-specific)
Definition at line 20 of file FileCmdScript.h.
Single constructor.
Definition at line 19 of file FileCmdScript.cpp.
FileCmdScript::~FileCmdScript | ( | ) |
Definition at line 60 of file FileCmdScript.cpp.
bool FileCmdScript::canRedo | ( | ) | const |
Returns true if there is at least one command on the stack.
Definition at line 64 of file FileCmdScript.cpp.
void FileCmdScript::redo | ( | MainWindow & | mainWindow | ) |
Apply the next command. Requires non-empty stack.
Definition at line 71 of file FileCmdScript.cpp.