*/
+#ifndef __ardour_progress_h__
+#define __ardour_progress_h__
+
#include <list>
namespace ARDOUR {
void ascend ();
void descend (float);
+ bool cancelled () const;
+
+protected:
+ void cancel ();
+
private:
/** Report overall progress.
* @param p Current progress (from 0 to 1)
};
std::list<Level> _stack;
+ bool _cancelled;
};
}
+
+#endif