From a5609e9366c6110b1d2226439f8ed6b8fb04e85b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 19 Mar 2011 02:25:48 +0000 Subject: lv2:Template => lv2:PluginBase. --- core.lv2/lv2.ttl | 21 ++++++++++++--------- ext/presets.lv2/presets.ttl | 2 +- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/core.lv2/lv2.ttl b/core.lv2/lv2.ttl index 8d7822c..860bd0f 100644 --- a/core.lv2/lv2.ttl +++ b/core.lv2/lv2.ttl @@ -180,17 +180,20 @@ plugin instances simultaneously.

## Plugin ## ############ -lv2:Template a rdfs:Class , owl:Class ; +lv2:PluginBase a rdfs:Class , owl:Class ; rdfs:subClassOf lv2:Resource ; - rdfs:comment """ -An abstract plugin-like resource that may not actually be an LV2 plugin -(e.g. may not actually have a plugin binary). A Template is a Resource that -may have ports, and otherwise mimic the structure of a plugin. This should be -subclassed by extensions that define such things. + lv2:documentation """ + +

An abstract plugin-like resource that MAY not actually be an LV2 plugin +(e.g. may not actually have a plugin binary).

+ +

PluginBase SHOULD be used as a base type for any resource that may have +ports or otherwise mimic the structure of a Plugin (e.g. a preset), since +hosts and other tools already understand this structure.

""" . lv2:Plugin a rdfs:Class , owl:Class ; - rdfs:subClassOf lv2:Template ; + rdfs:subClassOf lv2:PluginBase ; rdfs:label "Plugin" ; rdfs:subClassOf [ a owl:Restriction ; @@ -308,10 +311,10 @@ with elements of C type float.

####################### lv2:port a rdf:Property , owl:ObjectProperty ; - rdfs:domain lv2:Template ; + rdfs:domain lv2:PluginBase ; rdfs:range lv2:Port ; rdfs:label "port" ; - rdfs:comment "Relates a Template or Plugin to the Ports it contains" . + rdfs:comment "Relates a Plugin to the Ports it contains" . lv2:minorVersion a rdf:Property , owl:DatatypeProperty ; rdfs:domain lv2:Resource ; diff --git a/ext/presets.lv2/presets.ttl b/ext/presets.lv2/presets.ttl index 21114e8..956fba0 100644 --- a/ext/presets.lv2/presets.ttl +++ b/ext/presets.lv2/presets.ttl @@ -47,7 +47,7 @@ Defines presets (e.g. named sets of control values) for LV2 plugins. """ . pset:Preset a rdfs:Class ; - rdfs:subClassOf lv2:Template ; + rdfs:subClassOf lv2:PluginBase ; rdfs:label "LV2 Preset" ; rdfs:comment """ A Preset for an LV2 Plugin. A preset can be considered an "overlay" on a -- cgit v1.2.1