Add some basic JSON stuff.
[dcpomatic.git] / src / lib / examine_content_job.h
index 3bbd673a87e66aab5521b0ddb1666d5404da66ab..c8037224faa708737e6739d5c29bc544ee74ad0f 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 *, boost::shared_ptr<Job> req);
+       ExamineContentJob (boost::shared_ptr<const Film>, boost::shared_ptr<Content>);
        ~ExamineContentJob ();
 
        std::string name () const;
+       std::string json_name () const;
        void run ();
 
-       int last_video_frame () const;
-
 private:
-       boost::shared_ptr<Decoder> _decoder;
+       boost::shared_ptr<Content> _content;
 };