diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-09-26 00:09:04 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-09-27 11:32:49 +0200 |
| commit | ccacce39c39d16977ab6c1592fcb6e941b05ddff (patch) | |
| tree | 47c348ad4841efd64936b01db2a49eead46f67c8 /src/lib/config.h | |
| parent | 18cb0e914922cd76e9c205e88962816970b5c0cb (diff) | |
Add config location versioning (#2090).
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index 46bd390cc..5981e7994 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -1095,7 +1095,8 @@ public: void save_template (std::shared_ptr<const Film> film, std::string name) const; bool existing_template (std::string name) const; std::list<std::string> templates () const; - boost::filesystem::path template_path (std::string name) const; + boost::filesystem::path template_read_path (std::string name) const; + boost::filesystem::path template_write_path (std::string name) const; void rename_template (std::string old_name, std::string new_name) const; void delete_template (std::string name) const; @@ -1103,7 +1104,8 @@ public: static void drop (); static void restore_defaults (); static bool have_existing (std::string); - static boost::filesystem::path config_file (); + static boost::filesystem::path config_read_file (); + static boost::filesystem::path config_write_file (); private: Config (); |
