Hand-apply bbfb370d7de28ec1e8f307865cc6253bb5d4366e from master; quicker digest calcu...
[dcpomatic.git] / src / lib / examine_content_job.h
index 3bbd673a87e66aab5521b0ddb1666d5404da66ab..016a56371de1ff8f8641b137484a2712d6d9ad04 100644 (file)
 
 */
 
-/** @file  src/examine_content_job.h
- *  @brief A class to run through content at high speed to find its length.
- */
-
 #include "job.h"
+#include <boost/shared_ptr.hpp>
 
-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 *, boost::shared_ptr<Job> req);
+       ExamineContentJob (boost::shared_ptr<const Film>, boost::shared_ptr<Content>);
        ~ExamineContentJob ();
 
        std::string name () const;
        void run ();
 
-       int last_video_frame () const;
-
 private:
-       boost::shared_ptr<Decoder> _decoder;
+       boost::shared_ptr<Content> _content;
 };