summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-01 00:48:15 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-01 00:48:15 +0100
commit1d022220899c63e2cae0a2a9a81f6c6db955a23d (patch)
treefdf436255ae717e6269d98626e9d45824fc77e82 /src/lib/config.h
parent9c01623c3038b978ba732de2ad147d29fad60afe (diff)
Simplify NameFormat stuff.
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index 0de71be51..3a0308462 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -26,9 +26,8 @@
#define DCPOMATIC_CONFIG_H
#include "isdcf_metadata.h"
-#include "kdm_filename_format.h"
#include "types.h"
-#include <dcp/filename_format.h>
+#include <dcp/name_format.h>
#include <dcp/certificate_chain.h>
#include <dcp/encrypted_kdm.h>
#include <boost/shared_ptr.hpp>
@@ -268,11 +267,11 @@ public:
return _show_hints_before_make_dcp;
}
- KDMFilenameFormat kdm_filename_format () const {
+ dcp::NameFormat kdm_filename_format () const {
return _kdm_filename_format;
}
- dcp::FilenameFormat dcp_filename_format () const {
+ dcp::NameFormat dcp_filename_format () const {
return _dcp_filename_format;
}
@@ -483,11 +482,11 @@ public:
maybe_set (_show_hints_before_make_dcp, s);
}
- void set_kdm_filename_format (KDMFilenameFormat n) {
+ void set_kdm_filename_format (dcp::NameFormat n) {
maybe_set (_kdm_filename_format, n);
}
- void set_dcp_filename_format (dcp::FilenameFormat n) {
+ void set_dcp_filename_format (dcp::NameFormat n) {
maybe_set (_dcp_filename_format, n);
}
@@ -602,8 +601,8 @@ private:
std::vector<dcp::EncryptedKDM> _dkdms;
boost::filesystem::path _cinemas_file;
bool _show_hints_before_make_dcp;
- KDMFilenameFormat _kdm_filename_format;
- dcp::FilenameFormat _dcp_filename_format;
+ dcp::NameFormat _kdm_filename_format;
+ dcp::NameFormat _dcp_filename_format;
/** Singleton instance, or 0 */
static Config* _instance;