* @brief Clear console */
| 484 | * @brief Clear console |
| 485 | */ |
| 486 | API::CommandResponse API::Handlers::ConsoleHandler::clear(const QString& id, |
| 487 | const QJsonObject& params) |
| 488 | { |
| 489 | Q_UNUSED(params) |
| 490 | |
| 491 | Console::Handler::instance().clear(); |
| 492 | |
| 493 | QJsonObject result; |
| 494 | result[QStringLiteral("cleared")] = true; |
| 495 | return CommandResponse::makeSuccess(id, result); |
| 496 | } |
| 497 | |
| 498 | /** |
| 499 | * @brief Send data to device |
no outgoing calls
no test coverage detected