* Fix problem with JACK being left in freewheeling after export
[ardour.git] / libs / ardour / ardour / export_status.h
index 3ca5905a222698f3c2b7906a3fd16c830cbd1d99..42dd3aff4c770b31fcaa0214c5062f5227ae9ca3 100644 (file)
@@ -47,8 +47,13 @@ struct ExportStatus {
        volatile bool           running;
        
        sigc::signal<void>      Aborting;
-       void abort () { _aborted = true; Aborting(); }
+       void abort (bool error_occurred = false);
        bool aborted () const { return _aborted; }
+       bool errors () const { return _errors; }
+       
+       sigc::signal<void>      Finished;
+       void finish ();
+       bool finished () const { return _finished; }
        
        /* Progress info */
        
@@ -66,6 +71,9 @@ struct ExportStatus {
        
   private:
        volatile bool          _aborted;
+       volatile bool          _errors;
+       volatile bool          _finished;
+       
 };
 
 } // namespace ARDOUR