summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-07-11 22:58:27 +0200
committerRobin Gareus <robin@gareus.org>2019-07-11 22:58:27 +0200
commitdc131da53b2603189dc0fb00109b77178c971fc4 (patch)
tree90279a03a80824bbf2d8809322e5ef5befd6620b /gtk2_ardour/port_matrix.h
parentc6740b7cb06591f68851a3821a6cbc2b095e5bd0 (diff)
Hide "Add MIDI Port" in the GUI if there is already one
Diffstat (limited to 'gtk2_ardour/port_matrix.h')
-rw-r--r--gtk2_ardour/port_matrix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/port_matrix.h b/gtk2_ardour/port_matrix.h
index 09c334b5ef..5fc0bd221f 100644
--- a/gtk2_ardour/port_matrix.h
+++ b/gtk2_ardour/port_matrix.h
@@ -182,6 +182,7 @@ private:
void routes_changed ();
void reconnect_to_routes ();
void select_arrangement ();
+ bool can_add_channel_proxy (boost::weak_ptr<ARDOUR::Bundle>, ARDOUR::DataType) const;
void add_channel_proxy (boost::weak_ptr<ARDOUR::Bundle>, ARDOUR::DataType);
void remove_channel_proxy (boost::weak_ptr<ARDOUR::Bundle>, uint32_t);
void rename_channel_proxy (boost::weak_ptr<ARDOUR::Bundle>, uint32_t);