File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -51,16 +51,19 @@ extern "C" {
5151/// capture a plugin state for the undo step.
5252
5353typedef struct clap_undo_delta_properties {
54+ // If true, then the plugin will provide deltas in host->change_made().
5455 // If false, then all clap_undo_delta_properties's attributes become irrelevant.
55- // If set, then the plugin will provide deltas in host->change_made().
5656 bool has_delta ;
5757
58- // If set, then the delta will be reusable in the future as long as the plugin is
59- // compatible with the given format_version.
58+ // If true, then the deltas can be stored on disk and re-used in the future as long as the plugin
59+ // is compatible with the given format_version.
60+ //
61+ // If false, then format_version must be set to CLAP_INVALID_ID.
6062 bool are_deltas_persistent ;
6163
6264 // This represents the delta format version that the plugin is currently using.
63- uint32_t format_version ;
65+ // Use CLAP_INVALID_ID for invalid value.
66+ clap_id format_version ;
6467} clap_undo_delta_properties_t ;
6568
6669// Use CLAP_EXT_UNDO_DELTA.
You can’t perform that action at this time.
0 commit comments