Partial hacks to use of libdcp 1.0.
[dcpomatic.git] / src / lib / film.h
index 24ddad0bdc545ee8d55cae15ec9d390bbb8f03b7..68916c7b097202509ab77e8f832d416b7ff42c72 100644 (file)
@@ -94,7 +94,7 @@ public:
                return _dirty;
        }
 
-       libdcp::Size full_frame () const;
+       dcp::Size full_frame () const;
 
        std::list<boost::filesystem::path> dcps () const;
 
@@ -108,6 +108,9 @@ public:
        DCPTime video_frames_to_time (VideoFrame) const;
        DCPTime audio_frames_to_time (AudioFrame) const;
 
+       uint64_t required_disk_space () const;
+       bool should_be_enough_disk_space (double &, double &) const;
+       
        /* Proxies for some Playlist methods */
 
        ContentList content () const;
@@ -116,22 +119,22 @@ public:
        VideoFrame best_video_frame_rate () const;
        FrameRateChange active_frame_rate_change (DCPTime) const;
 
-       libdcp::KDM
+       dcp::KDM
        make_kdm (
-               boost::shared_ptr<libdcp::Certificate> target,
+               boost::shared_ptr<dcp::Certificate> target,
                boost::filesystem::path dcp,
                boost::posix_time::ptime from,
                boost::posix_time::ptime until
                ) const;
        
-       std::list<libdcp::KDM> make_kdms (
+       std::list<dcp::KDM> make_kdms (
                std::list<boost::shared_ptr<Screen> >,
                boost::filesystem::path dcp,
                boost::posix_time::ptime from,
                boost::posix_time::ptime until
                ) const;
 
-       libdcp::Key key () const {
+       dcp::Key key () const {
                return _key;
        }
 
@@ -320,7 +323,7 @@ private:
        bool _three_d;
        bool _sequence_video;
        bool _interop;
-       libdcp::Key _key;
+       dcp::Key _key;
 
        /** true if our state has changed since we last saved it */
        mutable bool _dirty;