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

Method currentLanguage

app/src/MQTT/PublisherScript.cpp:157–160  ·  view source on GitHub ↗

* @brief Returns the language enum of the currently loaded script. */

Source from the content-addressed store, hash-verified

155 * @brief Returns the language enum of the currently loaded script.
156 */
157int MQTT::PublisherScript::currentLanguage() const noexcept
158{
159 return m_language;
160}
161
162/**
163 * @brief Runs mqtt(frame) and writes the byte payload returned by the user.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected