Remove use of boost::noncopyable.
[dcpomatic.git] / src / lib / frame_rate_change.h
index ae3615328d7ce3e5dfccddc596611ad8c40cdeb1..d7fed6dd0b45d05c87954f0eea1e8ee835633cac 100644 (file)
 #ifndef DCPOMATIC_FRAME_RATE_CHANGE_H
 #define DCPOMATIC_FRAME_RATE_CHANGE_H
 
+
+#include <memory>
 #include <string>
 
-struct FrameRateChange
+
+class Film;
+class Content;
+
+class FrameRateChange
 {
+public:
+       FrameRateChange ();
        FrameRateChange (double, int);
+       FrameRateChange (std::shared_ptr<const Film> film, std::shared_ptr<const Content> content);
+       FrameRateChange (std::shared_ptr<const Film> film, Content const * content);
 
        /** @return factor by which to multiply a source frame rate
            to get the effective rate after any skip or repeat has happened.
@@ -62,6 +72,9 @@ struct FrameRateChange
        double speed_up;
 
        std::string description () const;
+
+private:
+       void construct (double source_, int dcp_);
 };
 
 #endif