summaryrefslogtreecommitdiffstats
path: root/slv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-01-20 21:32:57 +0000
committerDavid Robillard <d@drobilla.net>2008-01-20 21:32:57 +0000
commit42aa3c32cdd4c6a0cc1e3372d57ac99511b2f46d (patch)
tree483949fefd1306a1d9919de3effe5efb1056f65d /slv2
parent5d8ed7bec58131367d69840bfb299fe93568fe6d (diff)
downloadlilv-42aa3c32cdd4c6a0cc1e3372d57ac99511b2f46d.tar.gz
lilv-42aa3c32cdd4c6a0cc1e3372d57ac99511b2f46d.tar.bz2
lilv-42aa3c32cdd4c6a0cc1e3372d57ac99511b2f46d.zip
Work on new generic events extension.
git-svn-id: http://svn.drobilla.net/lad/slv2@1089 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2')
-rw-r--r--slv2/port.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/slv2/port.h b/slv2/port.h
index 7846541..973d400 100644
--- a/slv2/port.h
+++ b/slv2/port.h
@@ -40,7 +40,7 @@ extern "C" {
SLV2Values
slv2_port_get_value(SLV2Plugin plugin,
SLV2Port port,
- const char* property);
+ const char* property_uri);
/** Return the LV2 port properties of a port.
@@ -62,6 +62,16 @@ slv2_port_has_property(SLV2Plugin p,
const char* property_uri);
+/** Return whether a port is an event port and supports a certain event type.
+ *
+ * Time = Query
+ */
+bool
+slv2_port_supports_event(SLV2Plugin p,
+ SLV2Port port,
+ const char* event_uri);
+
+
/** Get the symbol of a port given the index.
*
* The 'symbol' is a short string, a valid C identifier.