diff options
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/patch')
-rw-r--r-- | lv2/lv2plug.in/ns/ext/patch/lv2-patch.doap.ttl | 4 | ||||
-rw-r--r-- | lv2/lv2plug.in/ns/ext/patch/patch.h | 1 | ||||
-rw-r--r-- | lv2/lv2plug.in/ns/ext/patch/patch.ttl | 31 |
3 files changed, 31 insertions, 5 deletions
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 02f58b1..bac76d6 100644 --- a/lv2/lv2plug.in/ns/ext/patch/lv2-patch.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/patch/lv2-patch.doap.ttl @@ -13,11 +13,13 @@ doap:shortdesc "Messages for accessing and manipulating properties." ; doap:release [ doap:revision "2.3" ; - doap:created "2014-10-31" ; + doap:created "2015-02-06" ; dcs:blame <http://drobilla.net/drobilla#me> ; dcs:changeset [ dcs:item [ rdfs:label "Define patch:Get with no subject to implicitly apply to reciever. This can be used by UIs to get an initial description of a plugin." + ] , [ + rdfs:label "Add patch:Copy method." ] ] ] , [ diff --git a/lv2/lv2plug.in/ns/ext/patch/patch.h b/lv2/lv2plug.in/ns/ext/patch/patch.h index 57a495a..f24a8b7 100644 --- a/lv2/lv2plug.in/ns/ext/patch/patch.h +++ b/lv2/lv2plug.in/ns/ext/patch/patch.h @@ -34,6 +34,7 @@ #define LV2_PATCH__Ack LV2_PATCH_PREFIX "Ack" #define LV2_PATCH__Delete LV2_PATCH_PREFIX "Delete" +#define LV2_PATCH__Copy LV2_PATCH_PREFIX "Copy" #define LV2_PATCH__Error LV2_PATCH_PREFIX "Error" #define LV2_PATCH__Get LV2_PATCH_PREFIX "Get" #define LV2_PATCH__Message LV2_PATCH_PREFIX "Message" diff --git a/lv2/lv2plug.in/ns/ext/patch/patch.ttl b/lv2/lv2plug.in/ns/ext/patch/patch.ttl index 2702684..a1ff201 100644 --- a/lv2/lv2plug.in/ns/ext/patch/patch.ttl +++ b/lv2/lv2plug.in/ns/ext/patch/patch.ttl @@ -52,6 +52,29 @@ returned as a reply when a specific reply type is not necessary or appropriate.</p> """ . +patch:Copy + a rdfs:Class ; + rdfs:subClassOf patch:Request ; + rdfs:label "Copy" ; + rdfs:subClassOf [ + a owl:Restriction ; + owl:minCardinality 1 ; + owl:onProperty patch:subject + ] , [ + a owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty patch:destination + ] ; + lv2:documentation """ +<p>Copy the patch:subject to patch:destination. After this, patch:destination +has the description patch:subject had prior to this request's execution, and +patch:subject is unchanged. It is an error if the subject does not exist or +the destination already exists.</p> + +<p>Multiple patch:subject properties may be given if the patch:destination is +a container, the semantics of this use case are application defined.</p> +""" . + patch:Delete a rdfs:Class ; rdfs:subClassOf patch:Request ; @@ -156,10 +179,10 @@ patch:Move owl:onProperty patch:destination ] ; lv2:documentation """ -<p>Move the patch:subject to patch:destination. After this, patch:destination has -the description patch:subject had prior to this request's execution, and -patch:subject does not exist any more.It is an error if the subject does not -exist or the destination already exists.</p> +<p>Move the patch:subject to patch:destination. After this, patch:destination +has the description patch:subject had prior to this request's execution, and +patch:subject no longer exists. It is an error if the subject does not exist +or the destination already exists.</p> """ . patch:Patch |