12#ifndef __PLUGINS_PLUGIN_COLLECTION_H__
13#define __PLUGINS_PLUGIN_COLLECTION_H__
void plugin_collection_add_descriptor(PluginCollection *self, const PluginDescriptor *descr)
Appends a descriptor to the collection.
PluginCollection * plugin_collection_clone(const PluginCollection *self)
Clones a plugin collection.
NONNULL bool plugin_collection_contains_descriptor(PluginCollection *self, const PluginDescriptor *descr, bool match_pointer)
Returns whether the collection contains the given descriptor.
void plugin_collection_clear(PluginCollection *self)
Removes all the descriptors.
void plugin_collection_remove_descriptor(PluginCollection *self, const PluginDescriptor *descr)
Removes the descriptor matching the given one from the collection.
PluginCollection * plugin_collection_new(void)
Creates a new plugin collection.
Plugin collection used in the plugin browser.
char * description
Description of the collection (optional).
GPtrArray * descriptors
Plugin descriptors.
char * name
Name of the collection.