commit 0bd6b59efc9fdb91aff5908015a61fc09b111fa2 parent 66dce8ebca6430d8940749ffbc1cad36733ddcc2 Author: Alexandre Bique <bique.alexandre@gmail.com> Date: Wed, 4 Jan 2023 10:03:51 +0100 Require the indexing process to be fast Diffstat:
M | include/clap/factory/draft/preset-discovery.h | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/include/clap/factory/draft/preset-discovery.h b/include/clap/factory/draft/preset-discovery.h @@ -25,6 +25,13 @@ categorization system. The reason for this is to reduce the work for a plug-in developer to add Preset Discovery support for their existing preset file format and not have to be concerned with all the different hosts and how they want to receive the metadata. + + VERY IMPORTANT: + - the whole indexing process has to be **fast** + - clap_preset_provider->get_metadata() has to be fast and avoid unnecessary operations + - the whole indexing process must not be interactive + - don't show dialogs, windows, ... + - don't ask for user input */ #pragma once