Clean up a bit by using Content::film() more.
[dcpomatic.git] / src / lib / examine_content_job.h
index 729c287b58fe66488526f02eeff31708d2f7d307..4b813bca4bbab1ade3888e19507d8ba269725015 100644 (file)
 
 */
 
-/** @file  src/examine_content_job.h
- *  @brief A class to obtain the length and MD5 digest of a content file.
- */
-
 #include "job.h"
+#include <boost/shared_ptr.hpp>
+
+class Content;
 
-/** @class ExamineContentJob
- *  @brief A class to obtain the length and MD5 digest of a content file.
- */
 class ExamineContentJob : public Job
 {
 public:
-       ExamineContentJob (boost::shared_ptr<Film>, 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 ();
+
+private:
+       boost::shared_ptr<Content> _content;
 };