summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-24 11:26:50 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-24 11:26:50 +0100
commit437f928f7d7209c9e4c8ea3e3b5d0e8dc43b54a8 (patch)
tree50feb1d8277cf6ad7fb8da83b36b0d5782c55326 /src/dcp.h
parent23644a666637d3db3ccf2007a7cbbcdf4f2d29a2 (diff)
Add reporting of DCP type.
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dcp.h b/src/dcp.h
index 05c2026b..7d6d1567 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -102,6 +102,11 @@ public:
void resolve_refs (std::list<boost::shared_ptr<Asset> > assets);
+ /** @return Standard of a DCP that was read in */
+ boost::optional<Standard> standard () const {
+ return _standard;
+ }
+
private:
/** Write the PKL file.
@@ -126,6 +131,9 @@ private:
boost::filesystem::path _directory;
/** the CPLs that make up this DCP */
std::list<boost::shared_ptr<CPL> > _cpls;
+
+ /** Standard of DCP that was read in */
+ boost::optional<Standard> _standard;
};
}