* @brief Class holding configuration.
*/
-#ifndef DVDOMATIC_CONFIG_H
-#define DVDOMATIC_CONFIG_H
+#ifndef DCPOMATIC_CONFIG_H
+#define DCPOMATIC_CONFIG_H
#include <vector>
#include <boost/shared_ptr.hpp>
return _language;
}
+ int default_still_length () const {
+ return _default_still_length;
+ }
+
Format const * default_format () const {
return _default_format;
}
_language = boost::none;
}
+ void set_default_still_length (int s) {
+ _default_still_length = s;
+ }
+
void set_default_format (Format const * f) {
_default_format = f;
}
private:
Config ();
- std::string file () const;
+ std::string file (bool) const;
+ void read_old_metadata ();
/** number of threads to use for J2K encoding on the local machine */
int _num_local_encoding_threads;
/** Default DCI metadata for newly-created Films */
DCIMetadata _default_dci_metadata;
boost::optional<std::string> _language;
+ int _default_still_length;
Format const * _default_format;
DCPContentType const * _default_dcp_content_type;
libdcp::XMLMetadata _dcp_metadata;