summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-24 16:45:34 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-24 16:45:34 +0100
commit73407f943ba25e2a0df2c98b3a9a938132876e9f (patch)
tree3f50da759546b4e15bbb076bfafd8afe4509421b /src/lib/config.h
parent8e7bdee30563e9e334bc99387315124557ad0227 (diff)
Add a basic management dialogue for templates.
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index 213c13a83..e18cd3312 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -517,8 +517,10 @@ public:
void save_template (boost::shared_ptr<const Film> film, std::string name) const;
bool existing_template (std::string name) const;
- std::list<std::string> template_names () const;
+ std::list<std::string> templates () const;
boost::filesystem::path template_path (std::string name) const;
+ void rename_template (std::string old_name, std::string new_name) const;
+ void delete_template (std::string name) const;
static Config* instance ();
static void drop ();