summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/session.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-03-08 22:38:55 +0100
committerRobin Gareus <robin@gareus.org>2015-03-08 22:38:55 +0100
commit058222135342d75a4995779cf695b613d5888a34 (patch)
tree906db7c9ac7e41dbf66f49513f1cd289a6946726 /libs/ardour/ardour/session.h
parent9107a4b7fedf7fa6f6431fd92f0c1f5eee56ca26 (diff)
consolidate BundleAdded/Remove signal
The only user (matrix) does not care which bundles are added/removed. This simplification will make it a lot easier to keep bundles in sync with actual hardware ports.
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r--libs/ardour/ardour/session.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h
index 50c4c229ea..7d2908a18c 100644
--- a/libs/ardour/ardour/session.h
+++ b/libs/ardour/ardour/session.h
@@ -716,12 +716,11 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
/* I/O bundles */
- void add_bundle (boost::shared_ptr<Bundle>);
+ void add_bundle (boost::shared_ptr<Bundle>, bool emit_signal = true);
void remove_bundle (boost::shared_ptr<Bundle>);
boost::shared_ptr<Bundle> bundle_by_name (std::string) const;
- PBD::Signal1<void,boost::shared_ptr<Bundle> > BundleAdded;
- PBD::Signal1<void,boost::shared_ptr<Bundle> > BundleRemoved;
+ PBD::Signal0<void> BundleAddedOrRemoved;
void midi_panic ();