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