Basic template support (#485).
[dcpomatic.git] / src / lib / config.h
index a988cda6b7f11b687303ac255dd97b337aa1c7b0..213c13a83db81beeee4e3b85957fed6f67914431 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,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 ();