X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fstring_text_file_content.h;h=ef908051c623c4cbdeae3aa3be7e6811ad96e2ca;hb=9a97c1b4116d7fb80e8ab145c0cc738dbf14d617;hp=959190d32a604ee37c0921928c796a49695f9cf5;hpb=c4403784febdbdd42e9c32e67fadb147f11fe566;p=dcpomatic.git diff --git a/src/lib/string_text_file_content.h b/src/lib/string_text_file_content.h index 959190d32..ef908051c 100644 --- a/src/lib/string_text_file_content.h +++ b/src/lib/string_text_file_content.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2018 Carl Hetherington + Copyright (C) 2014-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,10 +18,13 @@ */ + #include "content.h" + class Job; + /** @class StringTextFileContent * @brief A SubRip, SSA or ASS file. */ @@ -29,21 +32,21 @@ class StringTextFileContent : public Content { public: StringTextFileContent (boost::filesystem::path); - StringTextFileContent (cxml::ConstNodePtr, int); + StringTextFileContent (cxml::ConstNodePtr, int, std::list&); - 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; - dcpomatic::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;