projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move playback_distance up to AudioDiskstream from Diskstream since it is only used...
[ardour.git]
/
libs
/
ardour
/
ardour
/
progress.h
diff --git
a/libs/ardour/ardour/progress.h
b/libs/ardour/ardour/progress.h
index 891af22059476e2a401175d84a56ca2bfca86c84..6cd66bdcbe4606ff5c257d147bb8305178b4e38c 100644
(file)
--- a/
libs/ardour/ardour/progress.h
+++ b/
libs/ardour/ardour/progress.h
@@
-17,6
+17,9
@@
*/
*/
+#ifndef __ardour_progress_h__
+#define __ardour_progress_h__
+
#include <list>
namespace ARDOUR {
#include <list>
namespace ARDOUR {
@@
-32,6
+35,11
@@
public:
void ascend ();
void descend (float);
void ascend ();
void descend (float);
+ bool cancelled () const;
+
+protected:
+ void cancel ();
+
private:
/** Report overall progress.
* @param p Current progress (from 0 to 1)
private:
/** Report overall progress.
* @param p Current progress (from 0 to 1)
@@
-46,6
+54,9
@@
private:
};
std::list<Level> _stack;
};
std::list<Level> _stack;
+ bool _cancelled;
};
}
};
}
+
+#endif