clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit ce78ca62807591732d6433f873fdf3dca3d622b4
parent f332bcebfe56691f9d1b80bd21013831b04be88c
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Fri, 19 Apr 2024 22:31:48 +0200

Add CLAP_UNDO_DELTA_LIFETIME_VOID

Diffstat:
Minclude/clap/ext/draft/undo.h | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/include/clap/ext/draft/undo.h b/include/clap/ext/draft/undo.h @@ -49,16 +49,19 @@ enum clap_undo_context_flags { }; enum clap_undo_delta_lifetime { + // No delta will be provided. + CLAP_UNDO_DELTA_LIFETIME_VOID = 0, + // The delta is valid for the duration of the plugin instance. - CLAP_UNDO_DELTA_LIFETIME_INSTANCE, + CLAP_UNDO_DELTA_LIFETIME_INSTANCE = 1, // The delta is valid beyond the plugin instance, as long as the plugin is compatible with the // current format version. - CLAP_UNDO_DELTA_LIFETIME_PERSISTANT, + CLAP_UNDO_DELTA_LIFETIME_PERSISTANT = 2, // The plugin guarentees that the delta will be forward compatible with all future version of // this plugin. - CLAP_UNDO_DELTA_LIFETIME_FOREVER, + CLAP_UNDO_DELTA_LIFETIME_FOREVER = 3, }; typedef struct clap_undo_delta_properties {