Basica save-as (duplicate) (#746).
[dcpomatic.git] / src / lib / film.h
index 9f473d7110b914866e21e443b2b9918eb90b44d8..ec64c39130c6398670d298f7a76f08e7f710bdb3 100644 (file)
@@ -96,6 +96,8 @@ public:
        void write_template (boost::filesystem::path path) const;
        boost::shared_ptr<xmlpp::Document> metadata (bool with_content_paths = true) const;
 
+       void copy_from (boost::shared_ptr<const Film> film);
+
        std::string isdcf_name (bool if_created_now) const;
        std::string dcp_name (bool if_created_now = false) const;
 
@@ -120,6 +122,7 @@ public:
        DCPTime length () const;
        int best_video_frame_rate () const;
        FrameRateChange active_frame_rate_change (DCPTime) const;
+       std::pair<double, double> speed_up_range (int dcp_frame_rate) const;
 
        dcp::EncryptedKDM make_kdm (
                dcp::Certificate recipient,
@@ -336,6 +339,8 @@ private:
        void maybe_add_content (boost::weak_ptr<Job>, boost::weak_ptr<Content>);
        void audio_analysis_finished ();
 
+       static std::string const metadata_file;
+
        /** Log to write to */
        boost::shared_ptr<Log> _log;
        boost::shared_ptr<Playlist> _playlist;