Accessor for ClosedCaptionsDialog.
[dcpomatic.git] / src / lib / job.h
index 4fc61cb266d2a7810ba42714dfeaaa618a0447ce..cb85059a61875c470a5a750d225fe51930dd7ee2 100644 (file)
@@ -89,6 +89,8 @@ public:
        boost::signals2::signal<void()> Progress;
        /** Emitted from the UI thread when the job is finished */
        boost::signals2::signal<void()> Finished;
+       /** Emitted from the job thread when the job is finished */
+       boost::signals2::signal<void()> FinishedImmediate;
 
 protected:
 
@@ -110,6 +112,7 @@ protected:
        void set_message (std::string m);
        int elapsed_sub_time () const;
        void check_for_interruption_or_pause ();
+       void stop_thread ();
 
        boost::shared_ptr<const Film> _film;