Take Film pointer out of Content.
[dcpomatic.git] / src / lib / image_content.h
index eeaf1e2b02bea67a346928ba141e1a3dc2c28902..bc0f331515f861f71134706c661b246f7efd8b2e 100644 (file)
 class ImageContent : public Content
 {
 public:
-       ImageContent (boost::shared_ptr<const Film>, boost::filesystem::path);
-       ImageContent (boost::shared_ptr<const Film>, cxml::ConstNodePtr, int);
+       ImageContent (boost::filesystem::path);
+       ImageContent (cxml::ConstNodePtr, int);
 
        boost::shared_ptr<ImageContent> shared_from_this () {
                return boost::dynamic_pointer_cast<ImageContent> (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;
 
        std::string identifier () const;