aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/patch/patch.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-02-08 02:11:34 -0500
committerDavid Robillard <d@drobilla.net>2015-02-08 02:11:34 -0500
commit037727ca7ae16fb17444c965e63b5e1f97f2ff8f (patch)
tree828222dbd480617969a86d9f28891a5297867a79 /lv2/lv2plug.in/ns/ext/patch/patch.ttl
parent7ff06c081594fe1e4021fbb1725c4c8938bdb23b (diff)
downloadlv2-037727ca7ae16fb17444c965e63b5e1f97f2ff8f.tar.xz
Add patch:Copy method.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/patch/patch.ttl')
-rw-r--r--lv2/lv2plug.in/ns/ext/patch/patch.ttl31
1 files changed, 27 insertions, 4 deletions
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