From 8b8fd29712602c7352fee7763662f4fc103363a8 Mon Sep 17 00:00:00 2001
From: David Robillard
Date: Sat, 26 Jan 2013 21:13:34 +0000
Subject: Add state:loadDefaultState feature.
---
lv2/lv2plug.in/ns/ext/state/state.ttl | 13 +++++++++++++
1 file changed, 13 insertions(+)
(limited to 'lv2/lv2plug.in/ns/ext/state/state.ttl')
diff --git a/lv2/lv2plug.in/ns/ext/state/state.ttl b/lv2/lv2plug.in/ns/ext/state/state.ttl
index a9b997c..699ef45 100644
--- a/lv2/lv2plug.in/ns/ext/state/state.ttl
+++ b/lv2/lv2plug.in/ns/ext/state/state.ttl
@@ -240,6 +240,19 @@ the properties of the state dictionary (except the property that states it has
this type).
""" .
+state:loadDefaultState
+ a lv2:Feature ;
+ lv2:documentation """
+This feature indicates that the plugin has default state listed with the
+state:state property which should be loaded by the host before running the
+plugin. Requiring this feature allows plugins to implement a single state
+loading mechanism which works for initialisation as well as restoration,
+without having to hard-code default state.
+
+To support this feature, the host MUST restore
the default state
+after instantiating the plugin but before calling run().
+""" .
+
state:state
a rdf:Property ;
rdfs:label "state" ;
--
cgit v1.2.1