summaryrefslogtreecommitdiff
path: root/gtk2_ardour/actions.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-12-22 13:39:41 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-12-22 13:39:46 -0500
commit64fa63212f7e79bab16147817211a33a3f7c8fba (patch)
tree54721a2dbd50611e7e5047e818ddfab2b67309dc /gtk2_ardour/actions.h
parent795c5c16f17867bb55b724abfe99bc9200184305 (diff)
move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration
Diffstat (limited to 'gtk2_ardour/actions.h')
-rw-r--r--gtk2_ardour/actions.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/actions.h b/gtk2_ardour/actions.h
index 50f9c20b82..6900e8392a 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 */
@@ -51,7 +53,9 @@ namespace ActionManager {
extern std::vector<Glib::RefPtr<Gtk::Action> > edit_point_in_region_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<bool>);
+ 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<bool, bool>, sigc::slot<bool>);
}