From 437f928f7d7209c9e4c8ea3e3b5d0e8dc43b54a8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 24 May 2016 11:26:50 +0100 Subject: Add reporting of DCP type. --- src/dcp.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/dcp.h') 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 > assets); + /** @return Standard of a DCP that was read in */ + boost::optional 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 > _cpls; + + /** Standard of DCP that was read in */ + boost::optional _standard; }; } -- cgit v1.2.3