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

Function luaNotifyInfo

app/src/DataModel/NotificationCenter.cpp:507–516  ·  view source on GitHub ↗

* @brief Lua C closure that posts an Info-level notification. */

Source from the content-addressed store, hash-verified

505 * @brief Lua C closure that posts an Info-level notification.
506 */
507static int luaNotifyInfo(lua_State* L)
508{
509 QString channel;
510 QString title;
511 QString subtitle;
512 resolveLuaArgs(L, 1, channel, title, subtitle);
513
514 DataModel::NotificationCenter::instance().postInfo(channel, title, subtitle);
515 return 0;
516}
517
518/**
519 * @brief Lua C closure that posts a Warning-level notification.

Callers

nothing calls this directly

Calls 2

resolveLuaArgsFunction · 0.85
postInfoMethod · 0.80

Tested by

no test coverage detected