| 603 | } |
| 604 | |
| 605 | void GodotModule::updateWindow(std::string name, bool adding) { |
| 606 | LibGodot::updateWindow(name); |
| 607 | AndroidPlatformData *data = static_cast<AndroidPlatformData *>(_data); |
| 608 | std::function<void(bool)> cb; |
| 609 | { |
| 610 | std::lock_guard lock(data->windowUpdateMutex); |
| 611 | if (!data->windowUpdateCallbacks.contains(name)) { |
| 612 | return; |
| 613 | } |
| 614 | cb = data->windowUpdateCallbacks[name].func; |
| 615 | } |
| 616 | cb(true); |
| 617 | } |
| 618 | |
| 619 | void GodotModule::updateWindows(bool adding) { |
| 620 | LibGodot::updateWindows(); |
nothing calls this directly
no outgoing calls
no test coverage detected