projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reformat.
[ardour.git]
/
libs
/
ardour
/
ardour
/
progress.h
diff --git
a/libs/ardour/ardour/progress.h
b/libs/ardour/ardour/progress.h
index e252c63bd86efddf6be178ed95d3e30aee6e0b9d..6cd66bdcbe4606ff5c257d147bb8305178b4e38c 100644
(file)
--- a/
libs/ardour/ardour/progress.h
+++ b/
libs/ardour/ardour/progress.h
@@
-35,6
+35,11
@@
public:
void ascend ();
void descend (float);
+ bool cancelled () const;
+
+protected:
+ void cancel ();
+
private:
/** Report overall progress.
* @param p Current progress (from 0 to 1)
@@
-49,6
+54,7
@@
private:
};
std::list<Level> _stack;
+ bool _cancelled;
};
}