| 154 | } |
| 155 | |
| 156 | void ClientPluginInterface::PostWorkTask(std::function<void()>&& task) { |
| 157 | if (plugin_context_ && !stopped_) { |
| 158 | plugin_context_->PostWorkTask(std::move(task)); |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | void ClientPluginInterface::PostUITask(std::function<void()>&& task) { |
| 163 | QMetaObject::invokeMethod(this, [=, this]() { |
nothing calls this directly
no outgoing calls
no test coverage detected