249
256
std::list<std::shared_ptr<Application>> Snap::list(const std::shared_ptr<Registry>& registry)
255
261
for (const auto& id : registry->impl->snapdInfo.appsForInterface(interface))
259
265
auto app = std::make_shared<Snap>(id, registry, interface);
262
268
catch (std::runtime_error& e)
264
270
g_debug("Unable to make Snap object for '%s': %s", std::string(id).c_str(), e.what());
272
289
/** Returns the stored AppID */