commit a8b3f1e0bdb21df8b6dd52eb4619981e0b82b261
parent dd97ce310e14e81b033d3eda1f93d367941ad63d
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Tue, 16 Jan 2024 09:54:50 +0100
state-context: we changed the enum values so no COMPAT here
Diffstat:
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/include/clap/ext/state-context.h b/include/clap/ext/state-context.h
@@ -32,21 +32,16 @@
extern "C" {
#endif
-static CLAP_CONSTEXPR const char CLAP_EXT_STATE_CONTEXT[] = "clap.state-context/1";
-
-// The latest draft is 100% compatible.
-// This compat ID may be removed in 2026.
-static CLAP_CONSTEXPR const char CLAP_EXT_STATE_CONTEXT_COMPAT[] = "clap.state-context.draft/1";
+static CLAP_CONSTEXPR const char CLAP_EXT_STATE_CONTEXT[] = "clap.state-context/2";
enum clap_plugin_state_context_type {
// suitable for storing and loading a state as a preset
- CLAP_STATE_CONTEXT_FOR_PRESET = 2,
+ CLAP_STATE_CONTEXT_FOR_PRESET = 1,
// suitable for duplicating a plugin instance
- CLAP_STATE_CONTEXT_FOR_DUPLICATE = 1,
+ CLAP_STATE_CONTEXT_FOR_DUPLICATE = 2,
// suitable for storing and loading a state within a project/song
- // Available since CLAP 1.2.0.
CLAP_STATE_CONTEXT_FOR_PROJECT = 3,
};