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

Method PostUIDelayTask

src/client/plugin_interface/ct_plugin_interface.cpp:168–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 }
167
168 void ClientPluginInterface::PostUIDelayTask(int ms, std::function<void()>&& task) {
169 this->PostUITask([ms, t = std::move(task)]() {
170 QTimer::singleShot(ms, [=]() {
171 t();
172 });
173 });
174 }
175
176 void ClientPluginInterface::RegisterEventCallback(const ClientPluginEventCallback& cbk) {
177 event_cbk_ = cbk;

Callers

nothing calls this directly

Calls 1

PostUITaskMethod · 0.95

Tested by

no test coverage detected