aboutsummaryrefslogtreecommitdiffstats
path: root/ext/pui.lv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-03 22:36:43 +0000
committerDavid Robillard <d@drobilla.net>2011-11-03 22:36:43 +0000
commitd2fa4f8292a50b47864d561c33ced39c55c89254 (patch)
tree72e320a6cd7979c66941ce1203334617a57df227 /ext/pui.lv2
parente8b25617db84184a2b299ef57f7c4295081b7576 (diff)
downloadlv2-d2fa4f8292a50b47864d561c33ced39c55c89254.tar.xz
Syntax highlight C and Turtle code in documentation.
Diffstat (limited to 'ext/pui.lv2')
-rw-r--r--ext/pui.lv2/pui.ttl24
1 files changed, 12 insertions, 12 deletions
diff --git a/ext/pui.lv2/pui.ttl b/ext/pui.lv2/pui.ttl
index 20c9ee8..c84aa98 100644
--- a/ext/pui.lv2/pui.ttl
+++ b/ext/pui.lv2/pui.ttl
@@ -51,12 +51,12 @@
<p>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
bundle and are referenced in the RDF data using the triples
-<pre>
- @prefix pui: &lt;http://lv2plug.in/ns/ext/pui#&gt; .
- @prefix pui-gtk: &lt;http://lv2plug.in/ns/ext/pui-gtk#&gt; .
- &lt;http://example.org/my-ui&gt; a pui-gtk:GtkUI ;
- lv2:appliesTo &lt;http://example.org/my-plugin&gt; ;
- pui:binary &lt;my-ui.so&gt; .
+<pre class="turtle-code">
+@prefix pui: &lt;http://lv2plug.in/ns/ext/pui#&gt; .
+@prefix pui-gtk: &lt;http://lv2plug.in/ns/ext/pui-gtk#&gt; .
+&lt;http://example.org/my-ui&gt; a pui-gtk:GtkUI ;
+ lv2:appliesTo &lt;http://example.org/my-plugin&gt; ;
+ pui:binary &lt;my-ui.so&gt; .
</pre>
where <code>http://example.org/my-plugin</code> is the URI of the plugin,
<code>http://example.org/my-ui</code> is the URI of the plugin UI and
@@ -103,12 +103,12 @@ pui:UI a rdfs:Class;
</p>
<p>To be used by a host a UI MUST have at least the following properties:
-<pre>
- rdf:type (with object a proper subclass of pui:UI)
- doap:name (one without language tag)
- lv2:binary (with a shared object file as object)
- lv2:appliesTo (with a LV2 plugin as object)
-</pre>
+<ul>
+<li>rdf:type (with object a proper subclass of pui:UI)</li>
+<li>doap:name (one without language tag)</li>
+<li>lv2:binary (with a shared object file as object)</li>
+<li>lv2:appliesTo (with a LV2 plugin as object)</li>
+</li>
The rdf:type of an UI is used by the host to decide whether it supports the
UI and how to handle the LV2_PUI_Widget object that is returned by the UIs
get_widget() function. For example, a type of pui-gtk:GtkGUI might tell the host