From 430284545345539c9ffb31df889debac1d3888b5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 22 Mar 2020 16:36:44 +0100 Subject: Move documentation to metadata files and convert it to Markdown --- lv2/instance-access/instance-access.meta.ttl | 19 ++++++++++++++++++- lv2/instance-access/instance-access.ttl | 18 +++--------------- 2 files changed, 21 insertions(+), 16 deletions(-) (limited to 'lv2/instance-access') diff --git a/lv2/instance-access/instance-access.meta.ttl b/lv2/instance-access/instance-access.meta.ttl index 7458059..875e2f8 100644 --- a/lv2/instance-access/instance-access.meta.ttl +++ b/lv2/instance-access/instance-access.meta.ttl @@ -1,6 +1,8 @@ @prefix dcs: . @prefix doap: . @prefix foaf: . +@prefix ia: . +@prefix lv2: . @prefix rdfs: . @@ -54,5 +56,20 @@ rdfs:label "Initial release." ] ] - ] . + ] ; + lv2:documentation """ + +This extension defines a feature which allows plugin UIs to get a direct handle +to an LV2 plugin instance (LV2_Handle), if possible. + +Note that the use of this extension by UIs violates the important principle of +UI/plugin separation, and is potentially a source of many problems. +Accordingly, **use of this extension is highly discouraged**, and plugins +should not expect hosts to support it, since it is often impossible to do so. + +To support this feature the host must pass an LV2_Feature struct to the UI +instantiate method with URI LV2_INSTANCE_ACCESS_URI and data pointed directly +to the LV2_Handle of the plugin instance. + +"""^^lv2:Markdown . diff --git a/lv2/instance-access/instance-access.ttl b/lv2/instance-access/instance-access.ttl index 960a8be..166e231 100644 --- a/lv2/instance-access/instance-access.ttl +++ b/lv2/instance-access/instance-access.ttl @@ -5,20 +5,8 @@ a lv2:Feature , lv2:Specification ; + rdfs:label "instance access" ; + rdfs:comment "A feature that provides access to a plugin instance." ; rdfs:seeAlso , - ; - lv2:documentation """ -

This extension defines a feature which allows plugin UIs to get a direct -handle to an LV2 plugin instance (LV2_Handle), if possible.

- -

Note that the use of this extension by UIs violates the important principle -of UI/plugin separation, and is potentially a source of many problems. -Accordingly, use of this extension is highly discouraged, and -plugins should not expect hosts to support it, since it is often impossible to -do so.

- -

To support this feature the host must pass an LV2_Feature struct to the UI -instantiate method with URI LV2_INSTANCE_ACCESS_URI and data pointed directly -to the LV2_Handle of the plugin instance.

-""" . + . -- cgit v1.2.1