46namespace InstalledPlugins
InstalledScan Discover(const std::filesystem::path &plugins)
static std::string ReadFile(const std::filesystem::path &path)
Status ValidateDescriptor(const PluginDescriptor *descriptor, std::string_view hostVersion)
std::expected< void, Error > Status
One failure: a code to branch on, text for the log, and an optional translation key.
std::vector< PluginManifest > Plugins
std::vector< RefusedPlugin > Refused
std::string LogTag
prefixes the plugin's log lines; its name unless the file says otherwise
std::vector< std::string > OptionalDependencies
std::vector< std::string > Dependencies
Required: a missing one refuses this plugin.