aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-19 02:25:48 +0000
committerDavid Robillard <d@drobilla.net>2011-03-19 02:25:48 +0000
commita5609e9366c6110b1d2226439f8ed6b8fb04e85b (patch)
treed504487156331651acf6223c37ca2cf65d2099e0
parent2023f959415a4476f5a13730315b0b7df5c5661d (diff)
downloadlv2-a5609e9366c6110b1d2226439f8ed6b8fb04e85b.tar.xz
lv2:Template => lv2:PluginBase.
-rw-r--r--core.lv2/lv2.ttl21
-rw-r--r--ext/presets.lv2/presets.ttl2
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.</p>
## 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 """
+
+<p>An abstract plugin-like resource that MAY not actually be an LV2 plugin
+(e.g. may not actually have a plugin binary).</p>
+
+<p>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 <q>understand</q> this structure.</p>
""" .
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 <code>float</code>.</p>
#######################
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