24 #ifndef CATALOG_PARSER_H__
25 #define CATALOG_PARSER_H__
50 std::string api_version;
52 std::string description;
53 std::string git_commit;
56 std::string tarball_url;
58 std::string build_gtk;
59 std::string target_version;
60 std::string target_arch;
72 std::string key()
const {
73 return name + version + release + target + target_version;
79 : is_imported(false), is_orphan(false), openSource(true),
88 std::vector<PluginMetadata> plugins;
91 std::vector<std::string> meta_urls;
92 std::vector<std::string> parsed_metas;
104 bool ParseCatalog(
const std::string xml,
CatalogCtx* ctx);
106 bool ParsePlugin(
const std::string& xml,
PluginMetadata& metadata);
The result from parsing the xml catalog i.
Datatypes and methods to parse ocpn-plugins.xml XML data, either complete catalog or a single plugin.