Remove unused method Session::rename_template
git-svn-id: svn://localhost/ardour2/trunk@2019 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ccd732beea
commit
2ac399c82c
@ -426,8 +426,6 @@ class Session : public PBD::StatefulDestructible
|
|||||||
void remove_state (string snapshot_name);
|
void remove_state (string snapshot_name);
|
||||||
void rename_state (string old_name, string new_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);
|
static int delete_template (string name);
|
||||||
|
|
||||||
sigc::signal<void,string> StateSaved;
|
sigc::signal<void,string> StateSaved;
|
||||||
|
@ -1619,15 +1619,6 @@ Session::save_template (string template_name)
|
|||||||
return 0;
|
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
|
int
|
||||||
Session::delete_template (string name)
|
Session::delete_template (string name)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user