Fix KDM email start/end time substitution.
[dcpomatic.git] / src / lib / config.h
index a988cda6b7f11b687303ac255dd97b337aa1c7b0..e18cd33121da70ea46a7429afd832bb17a8ce610 100644 (file)
@@ -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,13 @@ 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> 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 ();
        static void restore_defaults ();