X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Factions.h;h=5c301655c9b5aaec09b9fc57f029de20495b1bbf;hb=0e9dab6aabc2efddc957c7c71bc55354c16626ed;hp=50f9c20b8213118b27c8bbc38823fead9edb9ca1;hpb=59cdb46c2fed1faf3ae7828198d4da5c5874e59f;p=ardour.git diff --git a/gtk2_ardour/actions.h b/gtk2_ardour/actions.h index 50f9c20b82..5c301655c9 100644 --- a/gtk2_ardour/actions.h +++ b/gtk2_ardour/actions.h @@ -25,6 +25,8 @@ #include "gtkmm2ext/actions.h" #include "ardour/rc_configuration.h" +#include "ui_config.h" + namespace ActionManager { /* Ardour specific */ @@ -38,6 +40,10 @@ namespace ActionManager { extern std::vector > plugin_selection_sensitive_actions; extern std::vector > track_selection_sensitive_actions; + extern std::vector > stripable_selection_sensitive_actions; + extern std::vector > bus_selection_sensitive_actions; + extern std::vector > route_selection_sensitive_actions; + extern std::vector > vca_selection_sensitive_actions; extern std::vector > point_selection_sensitive_actions; extern std::vector > time_selection_sensitive_actions; extern std::vector > line_selection_sensitive_actions; @@ -49,9 +55,12 @@ namespace ActionManager { extern std::vector > engine_sensitive_actions; extern std::vector > engine_opposite_sensitive_actions; extern std::vector > edit_point_in_region_sensitive_actions; + extern std::vector > rec_sensitive_actions; extern void map_some_state (const char* group, const char* action, bool (ARDOUR::RCConfiguration::*get)() const); + extern void map_some_state (const char* group, const char* action, bool (UIConfiguration::*get)() const); extern void map_some_state (const char* group, const char* action, sigc::slot); + extern void toggle_config_state (const char* group, const char* action, bool (UIConfiguration::*set)(bool), bool (UIConfiguration::*get)(void) const); extern void toggle_config_state (const char* group, const char* action, bool (ARDOUR::RCConfiguration::*set)(bool), bool (ARDOUR::RCConfiguration::*get)(void) const); extern void toggle_config_state_foo (const char* group, const char* action, sigc::slot, sigc::slot); }