| 2 | #include "AppCommandBase.h" |
| 3 | |
| 4 | void AppCommandList::AddCommand(std::shared_ptr<AppCommand> command) { |
| 5 | _commands.push_back(command); |
| 6 | } |
| 7 | |
| 8 | std::shared_ptr<AppCommand> AppCommandList::GetCommand(size_t i) const { |
| 9 | return i < _commands.size() ? _commands[i] : nullptr; |
no test coverage detected