diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-21 01:59:04 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-21 01:59:04 +0000 |
| commit | 254b3044d72de6b033d7c584f5abd2b9aa70aad5 (patch) | |
| tree | 8a5c83c1b2dea690672663dedb2f3aa50f4473dc /src/lib/string_text_file_content.h | |
| parent | c31b9542c58ae1cbfae7ec3ba4911359fd010ba2 (diff) | |
Take Film pointer out of Content.
Diffstat (limited to 'src/lib/string_text_file_content.h')
| -rw-r--r-- | src/lib/string_text_file_content.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/string_text_file_content.h b/src/lib/string_text_file_content.h index c2de86ce5..9a71d5828 100644 --- a/src/lib/string_text_file_content.h +++ b/src/lib/string_text_file_content.h @@ -28,18 +28,18 @@ class Job; class StringTextFileContent : public Content { public: - StringTextFileContent (boost::shared_ptr<const Film>, boost::filesystem::path); - StringTextFileContent (boost::shared_ptr<const Film>, cxml::ConstNodePtr, int); + StringTextFileContent (boost::filesystem::path); + StringTextFileContent (cxml::ConstNodePtr, int); boost::shared_ptr<StringTextFileContent> shared_from_this () { return boost::dynamic_pointer_cast<StringTextFileContent> (Content::shared_from_this ()); } - void examine (boost::shared_ptr<Job>); + 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 () const; + DCPTime full_length (boost::shared_ptr<const Film> film) const; private: ContentTime _length; |
