| 51 | } |
| 52 | |
| 53 | std::vector<std::shared_ptr<AppManifest>> getAppManifests() { |
| 54 | std::vector<std::shared_ptr<AppManifest>> manifests; |
| 55 | hash_mutex.lock(); |
| 56 | for (const auto& item: app_manifest_map) { |
| 57 | manifests.push_back(item.second); |
| 58 | } |
| 59 | hash_mutex.unlock(); |
| 60 | return manifests; |
| 61 | } |
| 62 | |
| 63 | } // namespace |