| 30 | // region AppManifest |
| 31 | |
| 32 | void GuiService::onLoaderEvent(LoaderService::Event event) { |
| 33 | if (event == LoaderService::Event::ApplicationShowing) { |
| 34 | auto app_instance = std::static_pointer_cast<app::AppInstance>(app::getCurrentAppContext()); |
| 35 | showApp(app_instance); |
| 36 | } else if (event == LoaderService::Event::ApplicationHiding) { |
| 37 | hideApp(); |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | int32_t GuiService::guiMain() { |
| 42 | auto service = findServiceById<GuiService>(manifest.id); |
nothing calls this directly
no test coverage detected