Merge branch 'master' into cairocanvas
[ardour.git] / gtk2_ardour / ui_config.cc
index 573e509ab9fbc62e195bc44e137891b43c74c005..215df25e7f2ea179c79d1a834d091c4b6a1837c4 100644 (file)
@@ -59,6 +59,15 @@ UIConfiguration::~UIConfiguration ()
 {
 }
 
+void
+UIConfiguration::map_parameters (boost::function<void (std::string)>& functor)
+{
+#undef  UI_CONFIG_VARIABLE
+#define UI_CONFIG_VARIABLE(Type,var,Name,value) functor (Name);
+#include "ui_config_vars.h"
+#undef  UI_CONFIG_VARIABLE
+}
+
 int
 UIConfiguration::load_defaults ()
 {