MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / exportClose

Method exportClose

app/src/API/Handlers/ConsoleHandler.cpp:568–578  ·  view source on GitHub ↗

* @brief Close the console export file */

Source from the content-addressed store, hash-verified

566 * @brief Close the console export file
567 */
568API::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

Callers

nothing calls this directly

Calls 1

closeFileMethod · 0.45

Tested by

no test coverage detected