summaryrefslogtreecommitdiff
path: root/src/lib/spl_entry.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-28 01:14:23 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-28 01:14:23 +0100
commit73461f719bfb3ee91644b84f4bffd91df0e6559f (patch)
treed90a5eacbbe4ff995abbafa998b49d9007e765b5 /src/lib/spl_entry.h
parent60cc177d58b875de472a65a65c274ad1656aedc2 (diff)
Add info (time/type) to CPL/SPL lists.
Diffstat (limited to 'src/lib/spl_entry.h')
-rw-r--r--src/lib/spl_entry.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/lib/spl_entry.h b/src/lib/spl_entry.h
index b7fdaa2e0..033cab6a0 100644
--- a/src/lib/spl_entry.h
+++ b/src/lib/spl_entry.h
@@ -18,14 +18,20 @@
*/
+namespace dcp {
+ class CPL;
+}
+
class SPLEntry
{
public:
- SPLEntry (boost::filesystem::path p)
- : dcp (p)
+ SPLEntry (boost::shared_ptr<dcp::CPL> cpl_, boost::filesystem::path directory_)
+ : cpl (cpl_)
+ , directory (directory_)
{}
/* Length of black before this DCP */
DCPTime black_before;
- boost::filesystem::path dcp;
+ boost::shared_ptr<dcp::CPL> cpl;
+ boost::filesystem::path directory;
};