X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fdcp_subtitle_content.h;h=f5f375eee3570673d62ba97128829e6a1e802512;hp=36945adcdb4af8bdba3d696679ee811a1adc43a1;hb=f0c10e92b849566e458bc323f8783a6fe83e52d2;hpb=1a693725f9a8cc6ba58f65b2f1ef03255d295f23 diff --git a/src/lib/dcp_subtitle_content.h b/src/lib/dcp_subtitle_content.h index 36945adcd..f5f375eee 100644 --- a/src/lib/dcp_subtitle_content.h +++ b/src/lib/dcp_subtitle_content.h @@ -24,14 +24,15 @@ 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; + DCPTime full_length (boost::shared_ptr film) const; + DCPTime approximate_length () const; private: ContentTime _length;