diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-25 19:29:50 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-25 19:29:50 +0000 |
| commit | 7101dd05ddcde66600bded064e28b491d79e3ebc (patch) | |
| tree | d42d33838e887c42d770d5ce24846620ef34a458 /src/lib/config.h | |
| parent | 57202d20733638d979fcc7976ed725ded23c5515 (diff) | |
Provide option of default DCI name details (#42).
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index c84ce76b5..98cbf67e5 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -27,6 +27,7 @@ #include <vector> #include <boost/shared_ptr.hpp> #include <boost/signals2.hpp> +#include "dci_metadata.h" class ServerDescription; class Scaler; @@ -94,6 +95,10 @@ public: return _sound_processor; } + DCIMetadata default_dci_metadata () const { + return _default_dci_metadata; + } + /** @param n New number of local encoding threads */ void set_num_local_encoding_threads (int n) { _num_local_encoding_threads = n; @@ -140,6 +145,10 @@ public: void set_tms_password (std::string p) { _tms_password = p; } + + void set_default_dci_metadata (DCIMetadata d) { + _default_dci_metadata = d; + } void write () const; @@ -172,6 +181,8 @@ private: std::string _tms_password; /** Our sound processor */ SoundProcessor const * _sound_processor; + /** Default DCI metadata for newly-created Films */ + DCIMetadata _default_dci_metadata; /** Singleton instance, or 0 */ static Config* _instance; |
