make 3.0 catch up with transport and other changes in 2.X (hand applied, not merged)
[ardour.git] / libs / ardour / ardour / session_configuration.h
index 57e78d2af0e382e4accdca137bd655a0be7819d9..20df86ca4dc75f04bef746bd8a949d131378c809 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2009 Paul Davis 
+    Copyright (C) 2009 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -30,7 +30,7 @@ public:
        SessionConfiguration ();
 
        void map_parameters (sigc::slot<void, std::string>);
-       int set_state (XMLNode const &);
+       int set_state (XMLNode const &, int version);
        XMLNode& get_state ();
        XMLNode& get_variables ();
        void set_variables (XMLNode const &);
@@ -54,16 +54,16 @@ public:
        /* declare variables */
 
 #undef  CONFIG_VARIABLE
-#undef  CONFIG_VARIABLE_SPECIAL        
+#undef  CONFIG_VARIABLE_SPECIAL
 #define CONFIG_VARIABLE(Type,var,name,value) ConfigVariable<Type> var;
 #define CONFIG_VARIABLE_SPECIAL(Type,var,name,value,mutator) ConfigVariableWithMutation<Type> var;
 #include "ardour/session_configuration_vars.h"
 #undef  CONFIG_VARIABLE
-#undef  CONFIG_VARIABLE_SPECIAL        
+#undef  CONFIG_VARIABLE_SPECIAL
 
        int foo;
 };
 
 }
-       
+
 #endif