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

Method close

app/src/API/Handlers/MDF4ExportHandler.cpp:100–110  ·  view source on GitHub ↗

* @brief Close the current MDF4 file */

Source from the content-addressed store, hash-verified

98 * @brief Close the current MDF4 file
99 */
100API::CommandResponse API::Handlers::MDF4ExportHandler::close(const QString& id,
101 const QJsonObject& params)
102{
103 Q_UNUSED(params)
104
105 MDF4::Export::instance().closeFile();
106
107 QJsonObject result;
108 result[QStringLiteral("closed")] = true;
109 return CommandResponse::makeSuccess(id, result);
110}
111
112//--------------------------------------------------------------------------------------------------
113// Getters

Callers

nothing calls this directly

Calls 1

closeFileMethod · 0.45

Tested by

no test coverage detected