Store successful DCP encodes.
[dcpomatic.git] / src / lib / string_text_file_content.h
index 9a71d5828696683aa6b97b5b460c0eeda1ed377e..936e894d8a567e663edfb1c3602b3229b56c656d 100644 (file)
@@ -35,11 +35,16 @@ public:
                return boost::dynamic_pointer_cast<StringTextFileContent> (Content::shared_from_this ());
        }
 
+       boost::shared_ptr<const StringTextFileContent> shared_from_this () const {
+               return boost::dynamic_pointer_cast<const StringTextFileContent> (Content::shared_from_this ());
+       }
+
        void examine (boost::shared_ptr<const Film> film, boost::shared_ptr<Job>);
        std::string summary () const;
        std::string technical_summary () const;
        void as_xml (xmlpp::Node *, bool with_paths) const;
        DCPTime full_length (boost::shared_ptr<const Film> film) const;
+       DCPTime approximate_length () const;
 
 private:
        ContentTime _length;