X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fconfig.h;h=e18cd33121da70ea46a7429afd832bb17a8ce610;hb=c0d2b454ea1e8c9b047907343c902d72101ef6dd;hp=a988cda6b7f11b687303ac255dd97b337aa1c7b0;hpb=ada96204dfa1456da77e2ea7469f492cfc0a5483;p=dcpomatic.git diff --git a/src/lib/config.h b/src/lib/config.h index a988cda6b..e18cd3312 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,13 @@ public: void write () const; + void save_template (boost::shared_ptr film, std::string name) const; + bool existing_template (std::string name) const; + std::list 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 ();