| 178 | } |
| 179 | |
| 180 | void ClientPluginInterface::CallbackEvent(const std::shared_ptr<ClientPluginBaseEvent>& event) { |
| 181 | if (!event_cbk_) { |
| 182 | return; |
| 183 | } |
| 184 | PostWorkTask([=, this]() { |
| 185 | event_cbk_(event); |
| 186 | }); |
| 187 | } |
| 188 | |
| 189 | void ClientPluginInterface::CallbackEventDirectly(const std::shared_ptr<ClientPluginBaseEvent>& event) { |
| 190 | if (event_cbk_) { |
nothing calls this directly
no outgoing calls
no test coverage detected