10#ifndef __PLUGINS_PLUGIN_MANAGER_H__
11#define __PLUGINS_PLUGIN_MANAGER_H__
21TYPEDEF_STRUCT (ZCarlaDiscovery);
29#define PLUGIN_MANAGER (gZrythm->plugin_manager)
46 int num_plugin_categories;
50 int num_plugin_authors;
58 ZCarlaDiscovery * carla_discovery;
61 void * scan_done_cb_data;
72plugin_manager_new (
void);
75plugin_manager_get_paths_for_protocol (
80plugin_manager_get_paths_for_protocol_separated (
92 const char * rel_path);
95plugin_manager_begin_scan (
97 const double max_progress,
114 const char * filename,
bool plugin_manager_supports_protocol(PluginManager *self, ZPluginProtocol protocol)
Returns if the plugin manager supports the given plugin protocol.
void plugin_manager_add_descriptor(PluginManager *self, PluginDescriptor *descr)
Adds a new descriptor.
PluginDescriptor * plugin_manager_find_plugin_from_uri(PluginManager *self, const char *uri)
Returns the PluginDescriptor instance for the given URI.
PluginDescriptor * plugin_manager_find_from_descriptor(PluginManager *self, const PluginDescriptor *src_descr)
Finds and returns the PluginDescriptor instance matching the given descriptor.
ZPluginProtocol
Plugin protocol.
void plugin_manager_set_currently_scanning_plugin(PluginManager *self, const char *filename, const char *sha1)
Updates the text in the greeter.
PluginDescriptor * plugin_manager_pick_instrument(PluginManager *self)
Returns an instrument plugin, if any.
char * plugin_manager_find_plugin_from_rel_path(const PluginManager *self, const ZPluginProtocol protocol, const char *rel_path)
Searches in the known paths for this plugin protocol for the given relative path of the plugin and re...
void(* GenericCallback)(void *object)
Generic callback.
Descriptors to be cached.
Serializable plugin collections.
The PluginManager is responsible for scanning and keeping track of available Plugin's.
CachedPluginDescriptors * cached_plugin_descriptors
Cached descriptors.
char * plugin_categories[500]
Plugin categories.
char * plugin_authors[6000]
Plugin authors.
PluginCollections * collections
Plugin collections.
GPtrArray * plugin_descriptors
Scanned plugin descriptors.
int num_new_plugins
Number of newly scanned (newly cached) plugins.
bool setup
Whether the plugin manager has been set up already.
API for Symap, a basic symbol map (string interner).