projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prefer testing the session instead of using a global variable
[ardour.git]
/
gtk2_ardour
/
port_matrix_types.h
diff --git
a/gtk2_ardour/port_matrix_types.h
b/gtk2_ardour/port_matrix_types.h
index f36821cd907e8b85bf44f92d1880890f0d4eab68..dafbc858b66d67a6b93385ed89f1799cb8a8e8fd 100644
(file)
--- a/
gtk2_ardour/port_matrix_types.h
+++ b/
gtk2_ardour/port_matrix_types.h
@@
-22,8
+22,9
@@
#include "ardour/bundle.h"
#include "ardour/bundle.h"
-
struct
PortMatrixNode
+
class
PortMatrixNode
{
{
+public:
PortMatrixNode () {}
PortMatrixNode (ARDOUR::BundleChannel r, ARDOUR::BundleChannel c) : row (r), column (c) {}
PortMatrixNode () {}
PortMatrixNode (ARDOUR::BundleChannel r, ARDOUR::BundleChannel c) : row (r), column (c) {}
@@
-40,7
+41,6
@@
struct PortMatrixNode
enum State {
ASSOCIATED, ///< the ports are associated
NOT_ASSOCIATED, ///< the ports are not associated
enum State {
ASSOCIATED, ///< the ports are associated
NOT_ASSOCIATED, ///< the ports are not associated
- UNKNOWN, ///< we don't know anything about these two ports' relationship
PARTIAL ///< used when we are examining bundles; the bundles are partially associated
};
};
PARTIAL ///< used when we are examining bundles; the bundles are partially associated
};
};