Some include tidying.
[dcpomatic.git] / src / lib / transcode_job.h
index 8f78e7f6a899b8d3e5dda3f11da4adce2a1fdfcc..97a7d49f2c8efb4082513256ceb7cb84f401de96 100644 (file)
  *  @brief A job which transcodes from one format to another.
  */
 
-#include <boost/shared_ptr.hpp>
 #include "job.h"
-#include "options.h"
+#include <boost/shared_ptr.hpp>
 
-class Encoder;
+class Transcoder;
 
 /** @class TranscodeJob
  *  @brief A job which transcodes from one format to another.
@@ -33,16 +32,14 @@ class Encoder;
 class TranscodeJob : public Job
 {
 public:
-       TranscodeJob (boost::shared_ptr<Film> f, DecodeOptions od, boost::shared_ptr<Job> req);
+       TranscodeJob (boost::shared_ptr<const Film> f);
        
        std::string name () const;
        void run ();
        std::string status () const;
 
-protected:
+private:
        int remaining_time () const;
 
-private:
-       DecodeOptions _decode_opt;
-       boost::shared_ptr<Encoder> _encoder;
+       boost::shared_ptr<Transcoder> _transcoder;
 };