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

Function luaNotifyClear

app/src/DataModel/NotificationCenter.cpp:549–558  ·  view source on GitHub ↗

* @brief Lua C closure that emits a companion "resolved" Info event. */

Source from the content-addressed store, hash-verified

547 * @brief Lua C closure that emits a companion "resolved" Info event.
548 */
549static int luaNotifyClear(lua_State* L)
550{
551 QString channel;
552 QString title;
553 QString subtitle;
554 resolveLuaArgs(L, 1, channel, title, subtitle);
555
556 DataModel::NotificationCenter::instance().resolve(channel, title, subtitle);
557 return 0;
558}
559
560/**
561 * @brief Lua C closure used as the stub when Pro tier is not active.

Callers

nothing calls this directly

Calls 2

resolveLuaArgsFunction · 0.85
resolveMethod · 0.45

Tested by

no test coverage detected