| 19 | } |
| 20 | |
| 21 | std::vector<std::string> CommandService::GetCommands() { |
| 22 | std::vector<std::string> results; |
| 23 | |
| 24 | for (auto it: _handles) { |
| 25 | results.push_back(it.first); |
| 26 | } |
| 27 | |
| 28 | return results; |
| 29 | } |
| 30 | |
| 31 | std::string CommandService::GetCommand(Command command) { |
| 32 | switch (command) { |