From ac211a0df9bc5a3b968975085d8b74467ac393c6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 29 Jul 2012 03:33:39 +0000 Subject: Use more precise domain and range for EventPort properties. --- lv2/lv2plug.in/ns/ext/event/event.ttl | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'lv2/lv2plug.in/ns/ext/event') diff --git a/lv2/lv2plug.in/ns/ext/event/event.ttl b/lv2/lv2plug.in/ns/ext/event/event.ttl index 971fce2..e413a53 100644 --- a/lv2/lv2plug.in/ns/ext/event/event.ttl +++ b/lv2/lv2plug.in/ns/ext/event/event.ttl @@ -18,11 +18,13 @@ <../../meta/meta.ttl> ; doap:release [ doap:revision "1.7" ; - doap:created "2012-07-02" ; + doap:created "2012-07-28" ; dcs:blame ; dcs:changeset [ dcs:item [ rdfs:label "Make event iterator gracefully handle optional ports." + ] , [ + rdfs:label "Use more precise domain and range for EventPort properties." ] ] ] , [ @@ -153,7 +155,7 @@ event types whether or not this property is present. ev:supportsEvent a rdf:Property ; - rdfs:domain lv2:Port ; + rdfs:domain ev:EventPort ; rdfs:range rdfs:Class ; rdfs:label "Supports event type" ; rdfs:comment """ @@ -174,7 +176,8 @@ ev:generic property for that port is also set. ev:inheritsEvent a rdf:Property ; - rdfs:domain lv2:Port ; + rdfs:domain ev:EventPort , + lv2:OutputPort ; rdfs:range lv2:Port ; rdfs:label "Inherits event type" ; rdfs:comment """ @@ -186,7 +189,8 @@ connecting an input, but this property should be set whenever it applies. ev:supportsTimeStamp a rdf:Property ; - rdfs:domain lv2:Port ; + rdfs:domain ev:EventPort , + lv2:InputPort ; rdfs:range rdfs:Class ; rdfs:label "Supports time stamp type" ; rdfs:comment """ @@ -197,7 +201,8 @@ event buffer with a time stamp type that isn't supported by the port. ev:generatesTimeStamp a rdf:Property ; - rdfs:domain lv2:Port ; + rdfs:domain ev:EventPort , + lv2:OutputPort ; rdfs:range rdfs:Class ; rdfs:label "Outputs time stamp type" ; rdfs:comment """ @@ -214,7 +219,8 @@ struct, if it is non-NULL. ev:inheritsTimeStamp a rdf:Property ; - rdfs:domain lv2:Port ; + rdfs:domain ev:EventPort , + lv2:OutputPort ; rdfs:range lv2:Port ; rdfs:label "Inherits time stamp type" ; rdfs:comment """ -- cgit v1.2.1