#include <sstream>
#include <ostream>
+#include <iostream>
#include <pbd/xml++.h>
ConfigVariable (std::string str) : ConfigVariableBase (str) {}
ConfigVariable (std::string str, T val) : ConfigVariableBase (str), value (val) {}
- virtual bool set (T val, Owner owner) {
+ virtual bool set (T val, Owner owner = ARDOUR::ConfigVariableBase::Config) {
if (val == value) {
miss ();
return false;
child->add_property ("value", ss.str());
node.add_child_nocopy (*child);
}
-
+
bool set_from_node (const XMLNode& node, Owner owner) {
if (node.name() == "Config") {