|
TazGraph Project v0.1.0
|
Public Types | |
| using | Callback = std::function< void()> |
Public Member Functions | |
| Command (const std::string &name, Callback executeFunc, Callback undoFunc=nullptr) | |
| void | execute () |
| void | undo () |
| const std::string & | getName () const |
| bool | canUndo () const |