prop->value()) << endmsg;
}
+ // TODO: special case track-templates
+ // (state must be saved with the template)
std::string state_file = Glib::build_filename(
plugin_dir(),
Glib::build_filename(prop->value(), "state.ttl"));
IO::set_name_in_state (*node.children().front(), name);
tree.set_root (&node);
+ // TODO: special case LV2 plugin state
+ // copy of serialize it. Alternatively:
+ // create a plugin-preset (which can be loaded separately)
+
/* return zero on success, non-zero otherwise */
return !tree.write (path.c_str());
}