commit f84763470b11069b9307ef5acef2d1c728859e2d parent b50aad20e69d2f0587d8860959022c5b82af8052 Author: Alexandre Bique <bique.alexandre@gmail.com> Date: Thu, 19 Jan 2023 11:45:45 +0100 Listen to Giel Bremmers ;-) Diffstat:
M | include/clap/factory/draft/preset-discovery.h | | | 8 | ++------ |
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/include/clap/factory/draft/preset-discovery.h b/include/clap/factory/draft/preset-discovery.h @@ -21,12 +21,8 @@ 4. crawl the given locations and monitor file system changes `-> clap_preset_discovery_indexer.get_metadata() for each presets files - Then to load a preset, use ext/draft/preset-load.h - If the plugin do not implement preset-load (or similar extension for other plugin ABI), - then call the state loading mechanism with the following content: - preset-discovery-load\0<uri>\0<load-key> - If the method above didn't work and the preset to be loaded is a single preset file (not a preset - container), then try to load the state by passing the file's content. + Then to load a preset, use ext/draft/preset-load.h. + TODO: create a dedicated repo for other plugin abi preset-load extension. The design of this API deliberately does not define a fixed set tags or categories. It is the plug-in host's job to try to intelligently map the raw list of features that are found for a