Browse Source

Add patch:Copy method.

zrythm_meson
David Robillard 8 years ago
parent
commit
037727ca7a
  1. 4
      lv2/lv2plug.in/ns/ext/patch/lv2-patch.doap.ttl
  2. 1
      lv2/lv2plug.in/ns/ext/patch/patch.h
  3. 31
      lv2/lv2plug.in/ns/ext/patch/patch.ttl
  4. 2
      wscript

4
lv2/lv2plug.in/ns/ext/patch/lv2-patch.doap.ttl

@ -13,11 +13,13 @@ @@ -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."
]
]
] , [

1
lv2/lv2plug.in/ns/ext/patch/patch.h

@ -34,6 +34,7 @@ @@ -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"

31
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 @@ -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 @@ -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

2
wscript

@ -15,7 +15,7 @@ import waflib.Utils as Utils @@ -15,7 +15,7 @@ import waflib.Utils as Utils
# Variables for 'waf dist'
APPNAME = 'lv2'
VERSION = '1.10.0'
VERSION = '1.11.0'
# Mandatory variables
top = '.'

Loading…
Cancel
Save