summaryrefslogtreecommitdiffstats
path: root/suil
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-22 08:41:04 +0000
committerDavid Robillard <d@drobilla.net>2011-04-22 08:41:04 +0000
commit238d5640bc4ced066f40f513bf6bd89b28abc740 (patch)
tree8b31959360dd53d35c11546fc52371136e22f18a /suil
parentaaa6bdabe88d48fa5f9b03c096993e90ffaf7dcf (diff)
downloadsuil-238d5640bc4ced066f40f513bf6bd89b28abc740.tar.gz
suil-238d5640bc4ced066f40f513bf6bd89b28abc740.tar.bz2
suil-238d5640bc4ced066f40f513bf6bd89b28abc740.zip
Make port subscription functions extensible.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3189 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'suil')
-rw-r--r--suil/suil.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/suil/suil.h b/suil/suil.h
index edfb7ff..93c9ed3 100644
--- a/suil/suil.h
+++ b/suil/suil.h
@@ -90,14 +90,17 @@ typedef uint32_t (*SuilPortIndexFunc)(SuilController controller,
const char* port_symbol);
/** Function to subscribe to notifications for a port. */
-typedef uint32_t (*SuilPortSubscribeFunc)(SuilController controller,
- uint32_t port_index,
- uint32_t protocol);
+typedef uint32_t (*SuilPortSubscribeFunc)(SuilController controller,
+ uint32_t port_index,
+ uint32_t protocol,
+ const LV2_Feature* const* features);
+
/** Function to unsubscribe from notifications for a port. */
-typedef uint32_t (*SuilPortUnsubscribeFunc)(SuilController controller,
- uint32_t port_index,
- uint32_t protocol);
+typedef uint32_t (*SuilPortUnsubscribeFunc)(SuilController controller,
+ uint32_t port_index,
+ uint32_t protocol,
+ const LV2_Feature* const* features);
/**
Create a new UI host descriptor.