X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fstring_text_file_content.h;h=cf71f8780b94b40fc5ef4b4fc7926eea62b76eef;hb=a5d004b0773f633401528392fc28e66d70e13ac8;hp=4932f2a72dbc5feaa52a9ab54d21a18877cb591a;hpb=f67bc45820b4e56f90eecb97ba3b7762c119f9b5;p=dcpomatic.git diff --git a/src/lib/string_text_file_content.h b/src/lib/string_text_file_content.h index 4932f2a72..cf71f8780 100644 --- a/src/lib/string_text_file_content.h +++ b/src/lib/string_text_file_content.h @@ -31,20 +31,22 @@ public: StringTextFileContent (boost::filesystem::path); StringTextFileContent (cxml::ConstNodePtr, int); - boost::shared_ptr shared_from_this () { - return boost::dynamic_pointer_cast (Content::shared_from_this ()); + std::shared_ptr shared_from_this () { + return std::dynamic_pointer_cast (Content::shared_from_this ()); } - boost::shared_ptr shared_from_this () const { - return boost::dynamic_pointer_cast (Content::shared_from_this ()); + std::shared_ptr shared_from_this () const { + return std::dynamic_pointer_cast (Content::shared_from_this ()); } - void examine (boost::shared_ptr film, boost::shared_ptr); + void examine (std::shared_ptr film, std::shared_ptr); std::string summary () const; std::string technical_summary () const; void as_xml (xmlpp::Node *, bool with_paths) const; - DCPTime full_length (boost::shared_ptr film) const; + dcpomatic::DCPTime full_length (std::shared_ptr film) const; + dcpomatic::DCPTime approximate_length () const; + std::string identifier () const; private: - ContentTime _length; + dcpomatic::ContentTime _length; };