MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / NotifyAppMessage

Method NotifyAppMessage

src/client/ct_client_context.cpp:163–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 }
162
163 void ClientContext::NotifyAppMessage(const QString& title, const QString& msg, std::function<void()>&& cbk) {
164 QMetaObject::invokeMethod(this, [=, this]() {
165 if (notify_manager_) {
166 notify_manager_->notify(NotifyItem {
167 .type_ = NotifyItemType::kNormal,
168 .title_ = title,
169 .body_ = msg,
170 .cbk_ = cbk,
171 });
172 }
173 });
174 }
175
176 void ClientContext::NotifyAppErrMessage(const QString& title, const QString& msg, std::function<void()>&& cbk) {
177 QMetaObject::invokeMethod(this, [=, this]() {

Callers 3

SnapshotStreamMethod · 0.45
FloatControllerPanelMethod · 0.45
ProcessPluginEventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected