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

Function inProjectFileMode

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

* @brief Returns true when the project model is in ProjectFile mode and ready * to accept workspace mutations. */

Source from the content-addressed store, hash-verified

54 * to accept workspace mutations.
55 */
56[[nodiscard]] static bool inProjectFileMode()
57{
58 return AppState::instance().operationMode() == SerialStudio::ProjectFile;
59}
60
61/**
62 * @brief Builds the derived widgetId string for a workspace widget reference.

Callers 11

addMethod · 0.85
removeMethod · 0.85
clearAllMethod · 0.85
renameMethod · 0.85
updateMethod · 0.85
autoGenerateMethod · 0.85
customizeSetMethod · 0.85
widgetAddMethod · 0.85
widgetRemoveMethod · 0.85
cleanupMethod · 0.85
reorderMethod · 0.85

Calls 1

operationModeMethod · 0.80

Tested by

no test coverage detected