summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/template_utils.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-12-11 20:38:42 +0000
committerCarl Hetherington <carl@carlh.net>2011-12-11 20:38:42 +0000
commit73a91402cd0b12cf2cfe70f8fc4d4e4667fd259b (patch)
tree387106c75b4e1177306d3a80d76689808c07f68b /libs/ardour/ardour/template_utils.h
parenta03f3229f44742b579fc0dabf7a2b364e1a9b96b (diff)
Save templates as directories with plugin state, if
there is any, and copy that state to sessions created from those templates. Should fix #4525. Breaks existing session templates, sorry; they can be fixed by moving the .template file into a new directory with the name of the template (minus the .template). git-svn-id: svn://localhost/ardour2/branches/3.0@10982 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/template_utils.h')
-rw-r--r--libs/ardour/ardour/template_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/template_utils.h b/libs/ardour/ardour/template_utils.h
index fefb4a7c47..ec9fdaac8f 100644
--- a/libs/ardour/ardour/template_utils.h
+++ b/libs/ardour/ardour/template_utils.h
@@ -22,6 +22,8 @@ namespace ARDOUR {
void find_route_templates (std::vector<TemplateInfo>& template_names);
void find_session_templates (std::vector<TemplateInfo>& template_names);
+ std::string session_template_dir_to_file (std::string const &);
+
} // namespace ARDOUR
#endif