| 36 | } |
| 37 | |
| 38 | std::shared_ptr<AppContext> getCurrentAppContext() { |
| 39 | const auto service = service::loader::findLoaderService(); |
| 40 | assert(service != nullptr); |
| 41 | return service->getCurrentAppContext(); |
| 42 | } |
| 43 | |
| 44 | std::shared_ptr<App> getCurrentApp() { |
| 45 | const auto app_context = getCurrentAppContext(); |
no test coverage detected