From fe9d2a290682021cd12a00bf21fa4db3012e2049 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 29 Jul 2016 15:54:09 +0100 Subject: Basics of custom DCP filename components. --- src/lib/config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/lib/config.h') diff --git a/src/lib/config.h b/src/lib/config.h index d89adf491..37a55a695 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -28,6 +28,7 @@ #include "isdcf_metadata.h" #include "kdm_name_format.h" #include "types.h" +#include #include #include #include @@ -271,6 +272,10 @@ public: return _kdm_filename_format; } + dcp::FilenameFormat dcp_filename_format () const { + return _dcp_filename_format; + } + /** @param n New number of local encoding threads */ void set_num_local_encoding_threads (int n) { maybe_set (_num_local_encoding_threads, n); @@ -483,6 +488,10 @@ public: maybe_set (_kdm_filename_format, n); } + void set_dcp_filename_format (dcp::FilenameFormat n) { + maybe_set (_dcp_filename_format, n); + } + void clear_history () { _history.clear (); changed (); @@ -595,6 +604,7 @@ private: boost::filesystem::path _cinemas_file; bool _show_hints_before_make_dcp; KDMNameFormat _kdm_filename_format; + dcp::FilenameFormat _dcp_filename_format; /** Singleton instance, or 0 */ static Config* _instance; -- cgit v1.2.3