Hand-apply 6a3cd511559433554ab40ed72ff94b7d8dc2c5bd from master;
[dcpomatic.git] / src / lib / examine_content_job.h
index d149341b4456589e9d1fdda31fc72d978e32d2aa..f0d9eae930c9ce6d8ef7ef6ac8d876240ca793d0 100644 (file)
 
 */
 
-/** @file  src/examine_content_job.h
- *  @brief A class to run through content at high speed to find its length.
- */
-
+#include <boost/shared_ptr.hpp>
 #include "job.h"
 
-class Decoder;
+class Content;
+class Log;
 
-/** @class ExamineContentJob
- *  @brief A class to run through content at high speed to find its length.
- */
 class ExamineContentJob : public Job
 {
 public:
-       ExamineContentJob (boost::shared_ptr<const FilmState>, Log *);
+       ExamineContentJob (boost::shared_ptr<const Film>, boost::shared_ptr<Content>, bool calculate_digest);
        ~ExamineContentJob ();
 
        std::string name () const;
        void run ();
 
-       int last_video_frame () const;
-
 private:
-       boost::shared_ptr<Decoder> _decoder;
+       boost::shared_ptr<Content> _content;
+       bool _calculate_digest;
 };