* @brief Close the console export file */
| 566 | * @brief Close the console export file |
| 567 | */ |
| 568 | API::CommandResponse API::Handlers::ConsoleHandler::exportClose(const QString& id, |
| 569 | const QJsonObject& params) |
| 570 | { |
| 571 | Q_UNUSED(params) |
| 572 | |
| 573 | Console::Export::instance().closeFile(); |
| 574 | |
| 575 | QJsonObject result; |
| 576 | result[QStringLiteral("closed")] = true; |
| 577 | return CommandResponse::makeSuccess(id, result); |
| 578 | } |
| 579 | |
| 580 | /** |
| 581 | * @brief Get console export status |