Offer all of a bundle's ports for disconnection / removal when opening a menu over...
[ardour.git] / libs / ardour / ardour / bundle.h
index 1af7a3bad0e979bf07ae1fc0442317e9667ba7d3..196b1f2a091c1ac8757b5d8bb79084016b28ebf0 100644 (file)
@@ -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"
 };
 
 }