From 42aa3c32cdd4c6a0cc1e3372d57ac99511b2f46d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 20 Jan 2008 21:32:57 +0000 Subject: Work on new generic events extension. git-svn-id: http://svn.drobilla.net/lad/slv2@1089 a436a847-0d15-0410-975c-d299462d15a1 --- slv2/port.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'slv2') 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. -- cgit v1.2.1