| 202 | std::shared_ptr<Lock> ElfApp::staticParametersLock = std::make_shared<Mutex>(); |
| 203 | |
| 204 | void setElfAppParameters( |
| 205 | CreateData createData, |
| 206 | DestroyData destroyData, |
| 207 | OnCreate onCreate, |
| 208 | OnDestroy onDestroy, |
| 209 | OnShow onShow, |
| 210 | OnHide onHide, |
| 211 | OnResult onResult |
| 212 | ) { |
| 213 | ElfApp::setParameters({ |
| 214 | .createData = createData, |
| 215 | .destroyData = destroyData, |
| 216 | .onCreate = onCreate, |
| 217 | .onDestroy = onDestroy, |
| 218 | .onShow = onShow, |
| 219 | .onHide = onHide, |
| 220 | .onResult = onResult |
| 221 | }); |
| 222 | } |
| 223 | |
| 224 | std::shared_ptr<App> createElfApp(const std::shared_ptr<AppManifest>& manifest) { |
| 225 | LOGGER.info("createElfApp"); |