diff options
Diffstat (limited to 'slv2')
-rw-r--r-- | slv2/port.h | 12 |
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. |