X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fdcp_subtitle_content.h;h=5ff4095469cbba0c70d7df749dff868363f78776;hb=5eb8b5c3a1566aef638e9d9df03b88d320735092;hp=36945adcdb4af8bdba3d696679ee811a1adc43a1;hpb=1a693725f9a8cc6ba58f65b2f1ef03255d295f23;p=dcpomatic.git diff --git a/src/lib/dcp_subtitle_content.h b/src/lib/dcp_subtitle_content.h index 36945adcd..5ff409546 100644 --- a/src/lib/dcp_subtitle_content.h +++ b/src/lib/dcp_subtitle_content.h @@ -24,15 +24,16 @@ class DCPSubtitleContent : public DCPSubtitle, public Content { public: - DCPSubtitleContent (boost::shared_ptr, boost::filesystem::path); - DCPSubtitleContent (boost::shared_ptr, cxml::ConstNodePtr, int); + DCPSubtitleContent (boost::filesystem::path); + DCPSubtitleContent (cxml::ConstNodePtr, int); - void examine (boost::shared_ptr); + void examine (boost::shared_ptr film, boost::shared_ptr); std::string summary () const; std::string technical_summary () const; void as_xml (xmlpp::Node *, bool with_paths) const; - DCPTime full_length () const; + dcpomatic::DCPTime full_length (boost::shared_ptr film) const; + dcpomatic::DCPTime approximate_length () const; private: - ContentTime _length; + dcpomatic::ContentTime _length; };