rather hacky fix for the change of the SyncSource > JACK enum to SyncSource > Engine
[ardour.git] / libs / ardour / ardour / rc_configuration.h
index ad31aac44ea102747707f46aa527147fe1bbef26..e2f68477a1323085af59fb24896fb02672ac233e 100644 (file)
@@ -35,6 +35,7 @@ class RCConfiguration : public Configuration
 {
   public:
        RCConfiguration();
+       ~RCConfiguration();
 
        void map_parameters (boost::function<void (std::string)>&);
        int set_state (XMLNode const &, int version);
@@ -42,8 +43,6 @@ class RCConfiguration : public Configuration
        XMLNode& get_variables ();
        void set_variables (XMLNode const &);
 
-       std::map<std::string, XMLNode> midi_ports;
-
        int load_state ();
        int save_state ();
 
@@ -59,11 +58,11 @@ class RCConfiguration : public Configuration
 #undef  CONFIG_VARIABLE
 #undef  CONFIG_VARIABLE_SPECIAL
 #define CONFIG_VARIABLE(Type,var,name,value) \
-        Type get_##var () const { return var.get(); } \
-        bool set_##var (Type val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret;  }
+       Type get_##var () const { return var.get(); } \
+       bool set_##var (Type val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret;  }
 #define CONFIG_VARIABLE_SPECIAL(Type,var,name,value,mutator) \
-        Type get_##var () const { return var.get(); } \
-        bool set_##var (Type val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; }
+       Type get_##var () const { return var.get(); } \
+       bool set_##var (Type val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; }
 #include "ardour/rc_configuration_vars.h"
 #undef  CONFIG_VARIABLE
 #undef  CONFIG_VARIABLE_SPECIAL