summaryrefslogtreecommitdiff
path: root/src/pkl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-12-09 00:04:07 +0100
committerCarl Hetherington <cth@carlh.net>2019-12-22 01:21:00 +0100
commitaeb2f36ede25d6e8ce583592c23bbb1dfb05041e (patch)
treea4bee2652f7872877662dc30cb68f9482d379196 /src/pkl.cc
parent1e2e3a0a0eb6436d37a9bdf5058c6ac133b90001 (diff)
Note any file that is used for reading/writing a PKL, like we do with assets.
Diffstat (limited to 'src/pkl.cc')
-rw-r--r--src/pkl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pkl.cc b/src/pkl.cc
index adcad573..b2fe875b 100644
--- a/src/pkl.cc
+++ b/src/pkl.cc
@@ -49,6 +49,7 @@ static string const pkl_interop_ns = "http://www.digicine.com/PROTO-ASDCP-PKL-20
static string const pkl_smpte_ns = "http://www.smpte-ra.org/schemas/429-8/2007/PKL";
PKL::PKL (boost::filesystem::path file)
+ : _file (file)
{
cxml::Document pkl ("PackingList");
pkl.read_file (file);
@@ -116,6 +117,7 @@ PKL::write (boost::filesystem::path file, shared_ptr<const CertificateChain> sig
}
doc.write_to_file_formatted (file.string(), "UTF-8");
+ _file = file;
}
optional<string>