Some missing copy constructors / operator= / noncopyable.
[dcpomatic.git] / src / lib / job.h
index 5a4775180586e7dbed363c6e4ac1bc3bb06ae97b..ce3a87f5efdb29b8a8555c06c7446dc7972705b9 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>);
@@ -71,7 +71,7 @@ public:
        void descend (float);
        float overall_progress () const;
 
-       /** Emitted by the JobManagerView from the UI thread */
+       /** Emitted from the UI thread when the job is finished */
        boost::signals2::signal<void()> Finished;
 
 protected: