Added some notes on DVD-o-matic's files to the manual.
[dcpomatic.git] / src / lib / job.h
index 791a9101b24bed0ca792049cf5bd24123b4c89a8..716b0c5c62ae8fe4119d155d6b55a77b0772f6dd 100644 (file)
@@ -35,7 +35,7 @@ class Film;
 /** @class Job
  *  @brief A parent class to represent long-running tasks which are run in their own thread.
  */
-class Job : public boost::enable_shared_from_this<Job>
+class Job : public boost::enable_shared_from_this<Job>, public boost::noncopyable
 {
 public:
        Job (boost::shared_ptr<const Film>);
@@ -80,10 +80,10 @@ protected:
 
        /** Description of a job's state */
        enum State {
-               NEW,            ///< the job hasn't been started yet
-               RUNNING,        ///< the job is running
-               PAUSED,         ///< the job has been paused
-               FINISHED_OK,    ///< the job has finished successfully
+               NEW,            ///< the job hasn't been started yet
+               RUNNING,        ///< the job is running
+               PAUSED,         ///< the job has been paused
+               FINISHED_OK,    ///< the job has finished successfully
                FINISHED_ERROR, ///< the job has finished in error
                FINISHED_CANCELLED ///< the job was cancelled
        };