summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-24 11:40:34 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-24 14:28:32 +0100
commit1a693725f9a8cc6ba58f65b2f1ef03255d295f23 (patch)
tree91596f7800dcc02103c90f8f19c763f45281603e /src/lib/config.h
parenta03e9a98ed667eb44c9dfbbeaf6da57f44992914 (diff)
Basic template support (#485).
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index a988cda6b..213c13a83 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -39,6 +39,7 @@ class CinemaSoundProcessor;
class DCPContentType;
class Ratio;
class Cinema;
+class Film;
/** @class Config
* @brief A singleton class holding configuration.
@@ -514,6 +515,11 @@ public:
void write () const;
+ 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;
+ boost::filesystem::path template_path (std::string name) const;
+
static Config* instance ();
static void drop ();
static void restore_defaults ();