summaryrefslogtreecommitdiffstats
path: root/slv2/port.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-03 18:35:52 +0000
committerDavid Robillard <d@drobilla.net>2007-10-03 18:35:52 +0000
commitd596bb4bedbf9ff267cfe924bb4d376213efd3ec (patch)
treeeff0daa07315d145dfac19b1e6c17416019c0de8 /slv2/port.h
parent09bf0ca18301b9ef7a4360be35d2d1921a0d28d8 (diff)
downloadlilv-d596bb4bedbf9ff267cfe924bb4d376213efd3ec.tar.gz
lilv-d596bb4bedbf9ff267cfe924bb4d376213efd3ec.tar.bz2
lilv-d596bb4bedbf9ff267cfe924bb4d376213efd3ec.zip
Updated LV2 spec.
git-svn-id: http://svn.drobilla.net/lad/slv2@809 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/port.h')
-rw-r--r--slv2/port.h21
1 files changed, 7 insertions, 14 deletions
diff --git a/slv2/port.h b/slv2/port.h
index 3eef680..dc477cd 100644
--- a/slv2/port.h
+++ b/slv2/port.h
@@ -33,7 +33,7 @@ extern "C" {
*/
-/** Port equivalent to slv2_plugin_get_value.
+/** Port analog of slv2_plugin_get_value.
*
* Time = Query
*/
@@ -43,7 +43,7 @@ slv2_port_get_value(SLV2Plugin plugin,
const char* property);
-/** Port equivalent to slv2_plugin_get_properties.
+/** Return the LV2 port properties of a port.
*
* Time = Query
*/
@@ -52,25 +52,18 @@ slv2_port_get_properties(SLV2Plugin plugin,
SLV2Port port);
-/** Port equivalent to slv2_plugin_get_hints.
- *
- * Time = Query
- */
-SLV2Values
-slv2_port_get_hints(SLV2Plugin plugin,
- SLV2Port port);
-
#if 0
-/** Return whether a port has a certain hint.
+/** Return whether a port has a certain property.
*
* Time = Query
*/
bool
-slv2_port_has_hint(SLV2Plugin p,
- SLV2Port port,
- SLV2Value hint)
+slv2_port_has_property(SLV2Plugin p,
+ SLV2Port port,
+ SLV2Value hint)
#endif
+
/** Get the symbol of a port given the index.
*
* The 'symbol' is a short string, a valid C identifier.