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

Method customizeGet

app/src/API/Handlers/WorkspacesHandler.cpp:1029–1037  ·  view source on GitHub ↗

* @brief Returns the current value of the customizeWorkspaces flag. */

Source from the content-addressed store, hash-verified

1027 * @brief Returns the current value of the customizeWorkspaces flag.
1028 */
1029API::CommandResponse API::Handlers::WorkspacesHandler::customizeGet(const QString& id,
1030 const QJsonObject& params)
1031{
1032 Q_UNUSED(params)
1033
1034 QJsonObject result;
1035 result[QStringLiteral("enabled")] = DataModel::ProjectModel::instance().customizeWorkspaces();
1036 return CommandResponse::makeSuccess(id, result);
1037}
1038
1039/**
1040 * @brief Flips the customizeWorkspaces flag.

Callers

nothing calls this directly

Calls 1

customizeWorkspacesMethod · 0.80

Tested by

no test coverage detected