LCXL: implement mute, solo and record arm toggles
[ardour.git] / libs / surfaces / push2 / gui.h
index fe501742775e5c58b096f1b721da561d68eb6b30..828765dec69d5f22d98fc79885b1b654e10a6746 100644 (file)
@@ -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<Gtk::TreeStore> available_action_model;
        std::map<std::string,std::string> 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);