diff options
author | Carl Hetherington <carl@carlh.net> | 2010-10-28 17:09:32 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-10-28 17:09:32 +0000 |
commit | 6f9e9ad23e98ac1b3f52065ad53641cbf4c38f22 (patch) | |
tree | 9db23782df87668152fbdf6f16a03651733ec511 /libs/ardour/ardour/progress.h | |
parent | d731e4dba1109ba641cea132c004dad71cbc4268 (diff) |
Make normalize cancel button work.
git-svn-id: svn://localhost/ardour2/branches/3.0@7935 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/progress.h')
-rw-r--r-- | libs/ardour/ardour/progress.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/ardour/progress.h b/libs/ardour/ardour/progress.h index e252c63bd8..6cd66bdcbe 100644 --- 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; }; } |