summaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-28 15:31:35 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-28 15:31:35 +0100
commit2ea95f432a4c12271354d2fa136c0832704e9244 (patch)
treee2f234203f4b65e40e94a303e10940e3aae1952e /src/parse
parent0b3a3e461284b91e774f44c48f6f2f59b2a5832f (diff)
Modify KDM code to take a CPL disk file instead of a whole CPL object.
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/cpl.cc2
-rw-r--r--src/parse/cpl.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/parse/cpl.cc b/src/parse/cpl.cc
index f6ce434c..8184c57b 100644
--- a/src/parse/cpl.cc
+++ b/src/parse/cpl.cc
@@ -31,7 +31,7 @@ using std::bad_cast;
using boost::shared_ptr;
using namespace libdcp::parse;
-CPL::CPL (string file)
+CPL::CPL (boost::filesystem::path file)
{
cxml::Document f ("CompositionPlaylist");
f.read_file (file);
diff --git a/src/parse/cpl.h b/src/parse/cpl.h
index 04bf9351..4e798e37 100644
--- a/src/parse/cpl.h
+++ b/src/parse/cpl.h
@@ -145,7 +145,7 @@ class CPL
{
public:
/** Parse a CPL XML file into our member variables */
- CPL (std::string file);
+ CPL (boost::filesystem::path file);
std::string id;
std::string annotation_text;