From 6444ed9d5268a3912174d0c3c98d4f58dfccfb0b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 29 Aug 2012 04:47:28 +0000 Subject: Add Option class. --- lv2/lv2plug.in/ns/ext/options/options.h | 1 + lv2/lv2plug.in/ns/ext/options/options.ttl | 14 ++++++++++++++ 2 files changed, 15 insertions(+) (limited to 'lv2/lv2plug.in/ns/ext') diff --git a/lv2/lv2plug.in/ns/ext/options/options.h b/lv2/lv2plug.in/ns/ext/options/options.h index 3ae0671..9c87378 100644 --- a/lv2/lv2plug.in/ns/ext/options/options.h +++ b/lv2/lv2plug.in/ns/ext/options/options.h @@ -25,6 +25,7 @@ #define LV2_OPTIONS_URI "http://lv2plug.in/ns/ext/options" #define LV2_OPTIONS_PREFIX LV2_OPTIONS_URI "#" +#define LV2_OPTIONS__Option LV2_OPTIONS_PREFIX "Option" #define LV2_OPTIONS__options LV2_OPTIONS_PREFIX "options" #define LV2_OPTIONS__requiredOption LV2_OPTIONS_PREFIX "requiredOption" #define LV2_OPTIONS__supportedOption LV2_OPTIONS_PREFIX "supportedOption" diff --git a/lv2/lv2plug.in/ns/ext/options/options.ttl b/lv2/lv2plug.in/ns/ext/options/options.ttl index 564dfea..c66aff3 100644 --- a/lv2/lv2plug.in/ns/ext/options/options.ttl +++ b/lv2/lv2plug.in/ns/ext/options/options.ttl @@ -29,6 +29,20 @@ opts:requiredOption property, or that they optionally support an option with the opts:supportedOption property.

""" . +opts:Option + a rdfs:Class ; + rdfs:label "Option" ; + rdfs:subClassOf rdf:Property ; + lv2:documentation """ +

A property intended to be used as a static option for an instance.

+ +

It is not required for a property to explicitly be an Option in order to be +used as such. However, properties which are primarily intended for use as +options, or are at least particularly useful as options, should be explicitly +given this type for documentation purposes, and to assist hosts in discovering +option definitions.

+""" . + opts:options a lv2:Feature ; rdfs:label "options" ; -- cgit v1.2.1