X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fspl_entry.h;h=2650371c45003d9631e95edbe6028fc595dd0681;hb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;hp=d939ec66a23193d205972f5f033559ed4726ebcc;hpb=8872a0a0028048e277a623fa08e8242dd43f4824;p=dcpomatic.git diff --git a/src/lib/spl_entry.h b/src/lib/spl_entry.h index d939ec66a..2650371c4 100644 --- a/src/lib/spl_entry.h +++ b/src/lib/spl_entry.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2018 Carl Hetherington + Copyright (C) 2018-2020 Carl Hetherington This file is part of DCP-o-matic. @@ -23,7 +23,6 @@ #include #include -#include namespace xmlpp { class Element; @@ -34,30 +33,21 @@ class Content; class SPLEntry { public: - SPLEntry (boost::shared_ptr content); - SPLEntry (boost::shared_ptr content, cxml::ConstNodePtr node); + SPLEntry (std::shared_ptr content); void as_xml (xmlpp::Element* e); - boost::shared_ptr content; + std::shared_ptr content; std::string name; /** Digest of this content */ std::string digest; - /** CPL ID or something else for MP4 (?) */ + /** CPL ID */ std::string id; dcp::ContentKind kind; - enum Type { - DCP, - ECINEMA - }; - Type type; bool encrypted; - bool skippable; - bool disable_timeline; - bool stop_after_play; private: - void construct (boost::shared_ptr content); + void construct (std::shared_ptr content); }; #endif