diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-05-09 21:33:56 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-05-25 01:30:31 +0200 |
| commit | 1e6484e0fe9e3fa090ef58e17433333a5378043c (patch) | |
| tree | 5bbb2e4efa39c5aee1d93bd618e5805b38ceb39f /src/lib/config.h | |
| parent | 00706c7d9ded27a537af4e8182e67b460ec316bc (diff) | |
Improve save-template dialog and always use a default template.
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index 1a59f4bad..b8dab9a44 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -1268,10 +1268,13 @@ public: void copy_and_link (boost::filesystem::path new_file) const; bool have_write_permission () const; + void save_default_template(std::shared_ptr<const Film> film) const; void save_template (std::shared_ptr<const Film> film, std::string name) const; bool existing_template (std::string name) const; + /** @return Template names (not including the default) */ std::vector<std::string> templates() const; boost::filesystem::path template_read_path (std::string name) const; + boost::filesystem::path default_template_read_path() const; void rename_template (std::string old_name, std::string new_name) const; void delete_template (std::string name) const; |
