10#ifndef __PLUGINS_PLUGIN_COLLECTIONS_H__
11#define __PLUGINS_PLUGIN_COLLECTIONS_H__
22#define PLUGIN_COLLECTIONS_SCHEMA_VERSION 1
37static const cyaml_schema_field_t plugin_collections_fields_schema[] = {
42 plugin_collection_schema),
47static const cyaml_schema_value_t plugin_collections_schema = {
78plugin_collections_find_from_name (
void plugin_collections_add(PluginCollections *self, const PluginCollection *collection, bool serialize)
Appends a collection.
PluginCollections * plugin_collections_new(void)
Reads the file and fills up the object.
void plugin_collections_remove(PluginCollections *self, PluginCollection *collection, bool serialize)
Removes the given collection.
#define YAML_VALUE_PTR(cc, fields_schema)
Schema to be used as a pointer.
#define YAML_FIELD_FIXED_SIZE_PTR_ARRAY_VAR_COUNT(owner, member, schema)
Fixed-width array of pointers with variable count.
Plugin collection used in the plugin browser.
Serializable plugin collections.
PluginCollection * collections[9000]
Plugin collections.
int schema_version
Version of the file.