| 34 | } |
| 35 | |
| 36 | void AggregateCommand::addCommand(KUndo2Command *cmd) |
| 37 | { |
| 38 | if (!cmd) return; |
| 39 | m_store.addCommand(cmd); |
| 40 | } |
| 41 | |
| 42 | LambdaCommand::LambdaCommand(std::function<KUndo2Command*()> createCommandFunc) |
| 43 | : m_createCommandFunc(createCommandFunc) |