aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/patch/patch.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-24 00:55:35 +0000
committerDavid Robillard <d@drobilla.net>2014-01-24 00:55:35 +0000
commit1cb9f77d07c998108d0ba54811ac4604a2b49725 (patch)
tree9816ff3058bcc18af86cb785bdac4857c1000181 /lv2/lv2plug.in/ns/ext/patch/patch.ttl
parentc12e45895f93e7bf3b42c43cf45208b28208a252 (diff)
downloadlv2-1cb9f77d07c998108d0ba54811ac4604a2b49725.tar.xz
atom: Deprecate Blank and Resource in favour of just Object.
atom: Add lv2_atom_forge_is_object_type() and lv2_atom_forge_is_blank() to ease backwards compatibility. atom: Add lv2_atom_forge_key() for terser object writing. patch: Add patch:sequenceNumber for associating replies with requests. lv2specgen: Display deprecated warning on classes marked owl:deprecated.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/patch/patch.ttl')
-rw-r--r--lv2/lv2plug.in/ns/ext/patch/patch.ttl22
1 files changed, 21 insertions, 1 deletions
diff --git a/lv2/lv2plug.in/ns/ext/patch/patch.ttl b/lv2/lv2plug.in/ns/ext/patch/patch.ttl
index ae1a0e3..c38ca31 100644
--- a/lv2/lv2plug.in/ns/ext/patch/patch.ttl
+++ b/lv2/lv2plug.in/ns/ext/patch/patch.ttl
@@ -310,16 +310,36 @@ patch:remove
a rdf:Property ,
owl:ObjectProperty ,
owl:FunctionalProperty ;
+ rdfs:label "remove" ;
rdfs:domain patch:Message .
patch:request
a rdf:Property ,
owl:ObjectProperty ,
owl:FunctionalProperty ;
+ rdfs:label "request" ;
rdfs:domain patch:Response ;
rdfs:range patch:Request ;
lv2:documentation """
-<p>The request this is a response to.</p>
+<p>The request this is a response to. This can be used if referring directly
+to the URI or blank node ID of the request is possible. Otherwise, use
+patch:sequenceNumber.</p>
+""" .
+
+patch:sequenceNumber
+ a rdf:Property ,
+ owl:ObjectProperty ,
+ owl:FunctionalProperty ;
+ rdfs:label "sequence number" ;
+ rdfs:domain patch:Message ;
+ rdfs:range xsd:int ;
+ lv2:documentation """
+<p>The sequence number of a request or response. This property is used to
+associate replies with requests when it is not feasible to refer to request
+URIs with patch:request. A patch:Response with a given sequence number is the
+reply to the previously send patch:Request with the same sequence number.</p>
+
+<p>The special sequence number 0 means no reply is desired.</p>
""" .
patch:subject