X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fsurfaces%2Fpush2%2Fgui.h;h=828765dec69d5f22d98fc79885b1b654e10a6746;hb=d3e7fa0ebfa4728383dc311bd0c66321c95816bf;hp=fe501742775e5c58b096f1b721da561d68eb6b30;hpb=0610e1dc8d5fd2a8edb912df2ef82c3f64083fb3;p=ardour.git diff --git a/libs/surfaces/push2/gui.h b/libs/surfaces/push2/gui.h index fe50174277..828765dec6 100644 --- a/libs/surfaces/push2/gui.h +++ b/libs/surfaces/push2/gui.h @@ -37,8 +37,9 @@ namespace Gtk { class ListStore; } +#include "ardour/mode.h" + #include "push2.h" -#include "mode.h" namespace ArdourSurface { @@ -61,6 +62,7 @@ private: void update_port_combos (); PBD::ScopedConnection connection_change_connection; void connection_handler (); + PBD::ScopedConnection port_reg_connection; struct MidiPortColumns : public Gtk::TreeModel::ColumnRecord { MidiPortColumns() { @@ -90,9 +92,6 @@ private: Glib::RefPtr available_action_model; std::map action_map; // map from action names to paths - void build_available_action_menu (); - bool find_action_in_model (const Gtk::TreeModel::iterator& iter, std::string const & action_path, Gtk::TreeModel::iterator* found); - struct PressureModeColumns : public Gtk::TreeModel::ColumnRecord { PressureModeColumns() { add (mode);