mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 20:56:28 +01:00
Remove unused method Session::delete_template
git-svn-id: svn://localhost/ardour2/trunk@2020 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2ac399c82c
commit
1ef0ecd90a
2 changed files with 0 additions and 12 deletions
|
|
@ -425,8 +425,6 @@ class Session : public PBD::StatefulDestructible
|
||||||
int restore_history (string snapshot_name);
|
int restore_history (string snapshot_name);
|
||||||
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 delete_template (string name);
|
|
||||||
|
|
||||||
sigc::signal<void,string> StateSaved;
|
sigc::signal<void,string> StateSaved;
|
||||||
sigc::signal<void> StateReady;
|
sigc::signal<void> StateReady;
|
||||||
|
|
|
||||||
|
|
@ -1619,16 +1619,6 @@ Session::save_template (string template_name)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
|
||||||
Session::delete_template (string name)
|
|
||||||
{
|
|
||||||
string template_path = template_dir();
|
|
||||||
template_path += name;
|
|
||||||
template_path += template_suffix;
|
|
||||||
|
|
||||||
return remove (template_path.c_str());
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Session::refresh_disk_space ()
|
Session::refresh_disk_space ()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue