void remove_state (string snapshot_name);
void rename_state (string old_name, string new_name);
- static int rename_template (string old_name, string new_name);
-
static int delete_template (string name);
sigc::signal<void,string> StateSaved;
return 0;
}
-int
-Session::rename_template (string old_name, string new_name)
-{
- string old_path = template_dir() + old_name + template_suffix;
- string new_path = template_dir() + new_name + template_suffix;
-
- return rename (old_path.c_str(), new_path.c_str());
-}
-
int
Session::delete_template (string name)
{