From 0713986dcd50195c81675d5819e1cf6658a38fee Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 20 Mar 2017 03:45:41 +0100 Subject: Add patch:context property --- lv2/lv2plug.in/ns/ext/patch/lv2-patch.doap.ttl | 2 ++ lv2/lv2plug.in/ns/ext/patch/patch.h | 1 + lv2/lv2plug.in/ns/ext/patch/patch.ttl | 17 +++++++++++++++++ wscript | 2 +- 4 files changed, 21 insertions(+), 1 deletion(-) diff --git a/lv2/lv2plug.in/ns/ext/patch/lv2-patch.doap.ttl b/lv2/lv2plug.in/ns/ext/patch/lv2-patch.doap.ttl index cf10aa6..34c091f 100644 --- a/lv2/lv2plug.in/ns/ext/patch/lv2-patch.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/patch/lv2-patch.doap.ttl @@ -17,6 +17,8 @@ dcs:changeset [ dcs:item [ rdfs:label "Add patch:accept property." + ] , [ + rdfs:label "Add patch:context property." ] ] ] , [ diff --git a/lv2/lv2plug.in/ns/ext/patch/patch.h b/lv2/lv2plug.in/ns/ext/patch/patch.h index e78164d..fed6a87 100644 --- a/lv2/lv2plug.in/ns/ext/patch/patch.h +++ b/lv2/lv2plug.in/ns/ext/patch/patch.h @@ -48,6 +48,7 @@ #define LV2_PATCH__accept LV2_PATCH_PREFIX "accept" ///< http://lv2plug.in/ns/ext/patch#accept #define LV2_PATCH__add LV2_PATCH_PREFIX "add" ///< http://lv2plug.in/ns/ext/patch#add #define LV2_PATCH__body LV2_PATCH_PREFIX "body" ///< http://lv2plug.in/ns/ext/patch#body +#define LV2_PATCH__context LV2_PATCH_PREFIX "context" ///< http://lv2plug.in/ns/ext/patch#context #define LV2_PATCH__destination LV2_PATCH_PREFIX "destination" ///< http://lv2plug.in/ns/ext/patch#destination #define LV2_PATCH__property LV2_PATCH_PREFIX "property" ///< http://lv2plug.in/ns/ext/patch#property #define LV2_PATCH__readable LV2_PATCH_PREFIX "readable" ///< http://lv2plug.in/ns/ext/patch#readable diff --git a/lv2/lv2plug.in/ns/ext/patch/patch.ttl b/lv2/lv2plug.in/ns/ext/patch/patch.ttl index 79ada4e..71c51a3 100644 --- a/lv2/lv2plug.in/ns/ext/patch/patch.ttl +++ b/lv2/lv2plug.in/ns/ext/patch/patch.ttl @@ -295,6 +295,23 @@ patch:body The details of this property's value depend on the type of message it is a part of.""" . +patch:context + a rdf:Property , + owl:ObjectProperty ; + rdfs:domain patch:Message ; + rdfs:comment """The context of properties in this message. + +For example, a plugin may have a special context for ephemeral properties which +are only relevant during the lifetime of the instance and should not be saved +in state. + +The specific uses for contexts are application specific. However, the context +MUST be a URI, and can be interpreted as the ID of a data model where +properties should be stored. Implementations MAY have special support for +contexts, for example by storing in a quad store or serializing to a format +that supports multiple RDF graphs such as TriG. +""" . + patch:destination a rdf:Property , owl:ObjectProperty , diff --git a/wscript b/wscript index 4e1a7b5..7eb4d33 100644 --- a/wscript +++ b/wscript @@ -15,7 +15,7 @@ import waflib.Utils as Utils # Variables for 'waf dist' APPNAME = 'lv2' -VERSION = '1.15.1' +VERSION = '1.15.3' # Mandatory variables top = '.' -- cgit v1.2.1