From 113b82ce16be49dff0ba171d25eb71e7139edf5c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 18 Nov 2011 03:39:22 +0000 Subject: Normalize syntax. --- ext/pui.lv2/pui.ttl | 95 ++++++++++++++++++++++++++--------------------------- 1 file changed, 47 insertions(+), 48 deletions(-) (limited to 'ext') diff --git a/ext/pui.lv2/pui.ttl b/ext/pui.lv2/pui.ttl index 0366d6e..c035e56 100644 --- a/ext/pui.lv2/pui.ttl +++ b/ext/pui.lv2/pui.ttl @@ -28,26 +28,27 @@ # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR # OTHER DEALINGS IN THE SOFTWARE. -@prefix pui: . -@prefix lv2: . -@prefix rdf: . -@prefix rdfs: . -@prefix doap: . -@prefix foaf: . +@prefix doap: . +@prefix foaf: . +@prefix lv2: . +@prefix pui: . +@prefix rdf: . +@prefix rdfs: . - a lv2:Specification ; - doap:license ; + + a lv2:Specification ; + doap:license ; doap:name "LV2 UI" ; - doap:shortdesc "Generic UI interface for LV2 plugins." ; + doap:shortdesc "Generic UI interface for LV2 plugins." ; doap:release [ doap:revision "0.1" ; doap:created "2011-03-26" - ]; + ] ; doap:maintainer [ - a foaf:Person; - foaf:name "Lars Luthman"; - foaf:mbox ; - ]; + a foaf:Person ; + foaf:name "Lars Luthman" ; + foaf:mbox + ] ; lv2:documentation """

This extension defines an interface that can be used to create UIs for plugins. The UIs are code that reside in shared object files in an LV2 @@ -89,16 +90,13 @@ machines. This means that you can not use singletons and global variables and expect them to refer to the same objects in the UI and the actual plugin. The function callback interface defined in the header pui.h is all you can expect to work.

-""". - -############## -## UI Class ## -############## +""" . -pui:UI a rdfs:Class; - rdfs:subClassOf lv2:Feature; - rdfs:label "UI"; - lv2:documentation """ +pui:UI + a rdfs:Class ; + rdfs:subClassOf lv2:Feature ; + rdfs:label "UI" ; + lv2:documentation """

The class which represents an LV2 plugin UI.

@@ -133,15 +131,11 @@ instantiate if the host doesn't pass all required features to instantiate().

""" . - -#################### -## Port Protocols ## -#################### - -pui:PortProtocol a rdfs:Class; - rdfs:subClassOf lv2:Feature; - rdfs:label "Port protocol"; - lv2:documentation """ +pui:PortProtocol + a rdfs:Class ; + rdfs:subClassOf lv2:Feature ; + rdfs:label "Port protocol" ; + lv2:documentation """

A PortProtocol defines a certain way of communicating port data between UI and plugin. PortProtocols can be specified in additional extensions, and those extensions MUST specify: @@ -162,10 +156,11 @@ those extensions MUST specify:

PortProtocol is a subclass of lv2:Feature, so UIs use lv2:optionalFeature and lv2:requiredFeature to specify which PortProtocols they want to use.

-""". +""" . -pui:floatControl a pui:PortProtocol; - rdfs:label "Floating point value"; +pui:floatControl + a pui:PortProtocol ; + rdfs:label "Floating point value" ; lv2:documentation """

The rules (see pui:PortProtocol) for this port protocol are:

    @@ -184,10 +179,11 @@ pui:floatControl a pui:PortProtocol;
  1. The data pointer in the LV2_Feature object for this feature should be NULL.
-""". +""" . -pui:floatPeakRMS a pui:PortProtocol; - rdfs:label "Peak and RMS for a period of audio data"; +pui:floatPeakRMS + a pui:PortProtocol ; + rdfs:label "Peak and RMS for a period of audio data" ; lv2:documentation """

This port protocol defines a way for the host to send continuous peak and RMS measurements of the audio signal at a certain port to the UI. The @@ -220,10 +216,11 @@ period.

  • The data pointer in the LV2_Feature object for this feature should be NULL.
  • -""". +""" . -pui:events a pui:PortProtocol; - rdfs:label "Event buffer"; +pui:events + a pui:PortProtocol ; + rdfs:label "Event buffer" ; lv2:documentation """
    1. This PortProtocol is valid for ports with the type ev:EventPort.
    2. @@ -250,11 +247,12 @@ pui:events a pui:PortProtocol;
    3. The data pointer in the LV2_Feature object for this feature should be NULL.
    -""". +""" . -pui:Gtk2UI a rdfs:Class; - rdfs:subClassOf pui:UI; - rdfs:label "Gtk+ UI"; +pui:Gtk2UI + a rdfs:Class ; + rdfs:subClassOf pui:UI ; + rdfs:label "Gtk+ UI" ; lv2:documentation """

    The class which represents a Gtk+ UI. For a successfully created instance of an UI of this class, the get_widget() function MUST return a pointer to a valid @@ -267,8 +265,9 @@ LV2_PUI_Descriptor may only be called from the thread that runs the Glib main loop.

    """ . -pui:noHostResize a lv2:Feature; - rdfs:label "No host resize"; +pui:noHostResize + a lv2:Feature ; + rdfs:label "No host resize" ; lv2:documentation """

    This Feature should only be used with UIs.

    @@ -280,4 +279,4 @@ for example when the widget uses a fixed-size pixmap interface.

    The data pointer in the LV2_Feature object for this Feature should be set to NULL.

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