summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/bundle.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-01-30 15:08:09 +0000
committerCarl Hetherington <carl@carlh.net>2009-01-30 15:08:09 +0000
commita384dab13095f3d909e52eff9e6170ae55416601 (patch)
treec8af98d36927095909f54d3e8e8819af4c98b184 /libs/ardour/ardour/bundle.h
parent24aab941eb4d77e5bdf3933b11f8ce5659872b52 (diff)
More port matrix re-working. Global matrix now has separate visibility buttons
for ins and outs. The matrix will now be arranged so that more ports are labelled horizontally than vertically, to aid readability. git-svn-id: svn://localhost/ardour2/branches/3.0@4467 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/bundle.h')
-rw-r--r--libs/ardour/ardour/bundle.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/libs/ardour/ardour/bundle.h b/libs/ardour/ardour/bundle.h
index ac5928fc34..7e5cac6bf1 100644
--- a/libs/ardour/ardour/bundle.h
+++ b/libs/ardour/ardour/bundle.h
@@ -147,6 +147,30 @@ class Bundle : public sigc::trackable
bool _ports_are_inputs;
};
+
+
+struct BundleChannel
+{
+ BundleChannel () : channel (0) {}
+
+ BundleChannel (boost::shared_ptr<ARDOUR::Bundle> b, uint32_t c)
+ : bundle (b), channel (c) {}
+
+ bool operator== (BundleChannel const& other) const {
+ return bundle == other.bundle && channel == other.channel;
+ }
+
+ bool operator!= (BundleChannel const& other) const {
+ return bundle != other.bundle || channel != other.channel;
+ }
+
+ boost::shared_ptr<ARDOUR::Bundle> bundle;
+ uint32_t channel;
+};
+
+
+
+
}
#endif /* __ardour_bundle_h__ */