summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/bundle.h
diff options
context:
space:
mode:
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>2017-08-28 12:18:02 +0200
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>2017-08-28 17:54:32 +0200
commit50c6a90d248f1cfe74c3cdbccfdc79e3e43a471f (patch)
treea6b8789e56ba534e088e666ff718ae8a3cf37266 /libs/ardour/ardour/bundle.h
parent6039b44c0a0dea471dd81c3bc2878fd6049de238 (diff)
Make Bundle::connected_to() optionally check for exclusivity
If the new optional argument is true, then the first bundle will also check if it has other connections than to the given bundle.
Diffstat (limited to 'libs/ardour/ardour/bundle.h')
-rw-r--r--libs/ardour/ardour/bundle.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/ardour/bundle.h b/libs/ardour/ardour/bundle.h
index 54d0e602b3..a84ae624f6 100644
--- a/libs/ardour/ardour/bundle.h
+++ b/libs/ardour/ardour/bundle.h
@@ -101,7 +101,8 @@ class LIBARDOUR_API Bundle : public PBD::ScopedConnectionList
bool allow_partial = false);
void disconnect (boost::shared_ptr<Bundle>, AudioEngine &);
bool connected_to (boost::shared_ptr<Bundle>, AudioEngine &,
- DataType type = DataType::NIL);
+ DataType type = DataType::NIL,
+ bool exclusive = false);
bool connected_to_anything (AudioEngine &);
bool has_same_ports (boost::shared_ptr<Bundle>) const;
uint32_t type_channel_to_overall (DataType, uint32_t) const;