plugins/collection.h file

Contents

Plugin collection.

Classes

struct PluginCollection
Plugin collection used in the plugin browser.

Typedefs

using PluginCollection = struct PluginCollection
Plugin collection used in the plugin browser.

Functions

auto plugin_collection_new(void) -> PluginCollection*
Creates a new plugin collection.
auto plugin_collection_clone(const PluginCollection* self) -> PluginCollection*
Clones a plugin collection.
auto plugin_collection_contains_descriptor(PluginCollection* self, const PluginDescriptor* descr, bool match_pointer) -> bool
Returns whether the collection contains the given descriptor.
void plugin_collection_add_descriptor(PluginCollection* self, const PluginDescriptor* descr)
Appends a descriptor to the collection.
void plugin_collection_remove_descriptor(PluginCollection* self, const PluginDescriptor* descr)
Removes the descriptor matching the given one from the collection.
void plugin_collection_clear(PluginCollection* self)
Removes all the descriptors.