| 190 | } |
| 191 | |
| 192 | void GrPluginInterface::PostUIDelayTask(int ms, std::function<void()>&& task) { |
| 193 | this->PostUITask([ms, t = std::move(task)]() { |
| 194 | QTimer::singleShot(ms, [=]() { |
| 195 | t(); |
| 196 | }); |
| 197 | }); |
| 198 | } |
| 199 | |
| 200 | void GrPluginInterface::RegisterEventCallback(const GrPluginEventCallback& cbk) { |
| 201 | event_cbk_ = cbk; |
nothing calls this directly
no test coverage detected