summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-24 23:02:38 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-24 23:02:38 +0100
commitcb7c3db37d196b6e9ddad60937bd5314a95eadb2 (patch)
treeb686e05142b39208e4af8ab0a01e3b47c5256378 /src/dcp.h
parent096b175a661234d9e02a852cce9f56c4577b8259 (diff)
parent85c699d29aab7ca7f7218b3f7f859e10c9025e37 (diff)
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
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;
};
}