From 8ce3cf93e74bb55145e1417ddb4327c0716fed16 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 23 Dec 2011 02:58:11 +0000 Subject: state:[iI]nstanceState => state:[sS]tate. --- lv2/ns/ext/state/manifest.ttl | 2 +- lv2/ns/ext/state/state.h | 1 - lv2/ns/ext/state/state.ttl | 24 ++++++++++++------------ 3 files changed, 13 insertions(+), 14 deletions(-) (limited to 'lv2') diff --git a/lv2/ns/ext/state/manifest.ttl b/lv2/ns/ext/state/manifest.ttl index 4c589bd..bff9ad5 100644 --- a/lv2/ns/ext/state/manifest.ttl +++ b/lv2/ns/ext/state/manifest.ttl @@ -4,5 +4,5 @@ a lv2:Specification ; lv2:minorVersion 0 ; - lv2:microVersion 4 ; + lv2:microVersion 5 ; rdfs:seeAlso . diff --git a/lv2/ns/ext/state/state.h b/lv2/ns/ext/state/state.h index f326ee0..d388617 100644 --- a/lv2/ns/ext/state/state.h +++ b/lv2/ns/ext/state/state.h @@ -221,7 +221,6 @@ typedef struct _LV2_State_Interface { uint32_t flags, const LV2_Feature *const * features); - /** Restore plugin state using a host-provided @c retrieve callback. diff --git a/lv2/ns/ext/state/state.ttl b/lv2/ns/ext/state/state.ttl index b029aa6..9a31bfb 100644 --- a/lv2/ns/ext/state/state.ttl +++ b/lv2/ns/ext/state/state.ttl @@ -27,8 +27,8 @@ doap:shortdesc "An interface for LV2 plugins to save and restore state." ; doap:license ; doap:release [ - doap:revision "0.4" ; - doap:created "2011-11-22" + doap:revision "0.5" ; + doap:created "2011-12-22" ] ; doap:developer [ a foaf:Person ; @@ -64,8 +64,8 @@ in any way.

  • Easy to serialise in many formats (e.g. any RDF syntax, plain text, JSON, XML, key:value databases, SQL, s-expressions, etc.).
  • Elegantly described in Turtle, which is useful for describing presets - or default state in LV2 data files (the predicate state:instanceState is - provided for this purpose).
  • + or default state in LV2 data files (the predicate state:state is provided + for this purpose).
  • Does not impose any file formats, data structures, or file system requirements.
  • Suitable for portable persistent state as well as fast in-memory @@ -225,13 +225,13 @@ LV2_STATE_INTERFACE_URI.

    """ . -state:InstanceState +state:State a rdfs:Class ; rdfs:label "Plugin Instance State" ; lv2:documentation """ -

    This class is used to express a plugin instance's state in RDF. The key/value -properties of the instance form the predicate/object (respectively) of triples -with a state:InstanceState as the subject (see state:instanceState for an +

    This class is used to express a plugin instance's state in RDF. The +key/value properties of the instance form the predicate/object (respectively) +of triples with a state:State as the subject (see state:state for an example). This may be used wherever it is useful to express a plugin instance's state in RDF (e.g. for serialisation, storing in a model, or transmitting over a network). Note that this class is provided because it may be useful for @@ -239,11 +239,11 @@ hosts, plugins, or extensions that work with instance state, but its use is not required to support the LV2 State extension.

    """ . -state:instanceState +state:state a rdf:Property ; - rdfs:range state:InstanceState ; + rdfs:range state:State ; lv2:documentation """ -

    Predicate to relate a plugin instance to an InstanceState. This may be used +

    Predicate to relate a plugin instance to its State. This may be used wherever the state of a particular plugin instance needs to be represented. Note that the domain of this property is unspecified, since LV2 does not define any RDF class for plugin instance. This predicate may be used wherever it makes @@ -252,7 +252,7 @@ sense to do so, e.g.:

    @prefix eg: <http://example.org/> . <plugininstance> - state:instanceState [ + state:state [ eg:somekey "some value" ; eg:someotherkey "some other value" ; eg:favourite-number 2 -- cgit v1.2.1