From 037727ca7ae16fb17444c965e63b5e1f97f2ff8f Mon Sep 17 00:00:00 2001
From: David Robillard
Date: Sun, 8 Feb 2015 02:11:34 -0500
Subject: Add patch:Copy method.
---
lv2/lv2plug.in/ns/ext/patch/lv2-patch.doap.ttl | 4 +++-
lv2/lv2plug.in/ns/ext/patch/patch.h | 1 +
lv2/lv2plug.in/ns/ext/patch/patch.ttl | 31 ++++++++++++++++++++++----
3 files changed, 31 insertions(+), 5 deletions(-)
(limited to 'lv2')
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 ;
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.
""" .
+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 """
+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.
+
+Multiple patch:subject properties may be given if the patch:destination is
+a container, the semantics of this use case are application defined.
+""" .
+
patch:Delete
a rdfs:Class ;
rdfs:subClassOf patch:Request ;
@@ -156,10 +179,10 @@ patch:Move
owl:onProperty patch:destination
] ;
lv2:documentation """
-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.
+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.
""" .
patch:Patch
--
cgit v1.2.1