summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/bundle.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-12-14 16:44:20 +0000
committerCarl Hetherington <carl@carlh.net>2009-12-14 16:44:20 +0000
commitda762129f19c28aff64f833b6ec09fba946faef6 (patch)
tree9f85b36735e42c257226bbb09432741d957f0613 /libs/ardour/ardour/bundle.h
parent383b24cc48e542d83fca90d4263f800b33d69402 (diff)
Offer all of a bundle's ports for disconnection / removal when opening a menu over a bundle's name in the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@6365 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/bundle.h')
-rw-r--r--libs/ardour/ardour/bundle.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/ardour/bundle.h b/libs/ardour/ardour/bundle.h
index 1af7a3bad0..196b1f2a09 100644
--- a/libs/ardour/ardour/bundle.h
+++ b/libs/ardour/ardour/bundle.h
@@ -144,9 +144,9 @@ class Bundle : public sigc::trackable
struct BundleChannel
{
- BundleChannel () : channel (0) {}
+ BundleChannel () : channel (-1) {}
- BundleChannel (boost::shared_ptr<Bundle> b, uint32_t c)
+ BundleChannel (boost::shared_ptr<Bundle> b, int c)
: bundle (b), channel (c) {}
bool operator== (BundleChannel const& other) const {
@@ -158,7 +158,7 @@ struct BundleChannel
}
boost::shared_ptr<Bundle> bundle;
- uint32_t channel;
+ int channel; ///< channel index, or -1 for "all"
};
}