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

Method runtimeMode

app/src/Misc/CLI.cpp:336–343  ·  view source on GitHub ↗

* @brief Returns true if --runtime (Pro operator mode) was passed. */

Source from the content-addressed store, hash-verified

334 * @brief Returns true if --runtime (Pro operator mode) was passed.
335 */
336bool CLI::runtimeMode() const noexcept
337{
338#ifdef BUILD_COMMERCIAL
339 return m_parser.isSet(m_opts.runtimeOpt);
340#else
341 return false;
342#endif
343}
344
345/**
346 * @brief Returns true if the toolbar should be hidden at startup.

Callers 2

bootstrapModuleManagerFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected