Tidy up thread in destructor (Job)
[dcpomatic.git] / src / lib / job.h
index 06a341f40d6808581d4bcf44ed3f2805f15285d1..1caa5a90458368e4cdd0d6af696044966efeed93 100644 (file)
@@ -40,7 +40,7 @@ class Job : public boost::enable_shared_from_this<Job>, public Signaller, public
 {
 public:
        Job (boost::shared_ptr<const Film>);
-       virtual ~Job() {}
+       virtual ~Job ();
 
        /** @return user-readable name of this job */
        virtual std::string name () const = 0;
@@ -106,6 +106,7 @@ protected:
 private:
 
        void run_wrapper ();
+       void set_progress_common (boost::optional<float> p);
 
        boost::thread* _thread;