* @brief Lua C closure that posts a Critical-level notification. */
| 533 | * @brief Lua C closure that posts a Critical-level notification. |
| 534 | */ |
| 535 | static int luaNotifyCritical(lua_State* L) |
| 536 | { |
| 537 | QString channel; |
| 538 | QString title; |
| 539 | QString subtitle; |
| 540 | resolveLuaArgs(L, 1, channel, title, subtitle); |
| 541 | |
| 542 | DataModel::NotificationCenter::instance().postCritical(channel, title, subtitle); |
| 543 | return 0; |
| 544 | } |
| 545 | |
| 546 | /** |
| 547 | * @brief Lua C closure that emits a companion "resolved" Info event. |
nothing calls this directly
no test coverage detected