Mercurial > hg > svcore
diff data/model/Model.h @ 1754:8529763e2258 by-id
Tidy
author | Chris Cannam |
---|---|
date | Fri, 05 Jul 2019 16:55:27 +0100 |
parents | 6d09d68165a4 |
children | ee7fd2c01d87 |
line wrap: on
line diff
--- a/data/model/Model.h Fri Jul 05 16:55:20 2019 +0100 +++ b/data/model/Model.h Fri Jul 05 16:55:27 2019 +0100 @@ -133,31 +133,6 @@ virtual bool isSparse() const { return false; } /** - * Mark the model as abandoning. This means that the application - * no longer needs it, so it can stop doing any background - * calculations it may be involved in. Note that as far as the - * model API is concerned, this does nothing more than tell the - * model to return true from isAbandoning(). The actual response - * to this will depend on the model's context -- it's possible - * nothing at all will change. - */ - //!!! aim to lose this (???) - /*!!! - virtual void abandon() { - m_abandoning = true; - } - */ - - /** - * Query whether the model has been marked as abandoning. - */ - //!!! aim to lose this - /*!!! - virtual bool isAbandoning() const { - return m_abandoning; - } - */ - /** * Return true if the model has finished loading or calculating * all its data, for a model that is capable of calculating in a * background thread. @@ -329,7 +304,6 @@ protected: Model() : -//!!! m_abandoning(false), m_extendTo(0) { } // Not provided. @@ -339,7 +313,6 @@ ModelId m_sourceModel; ModelId m_alignmentModel; QString m_typeUri; -//!!! bool m_abandoning; sv_frame_t m_extendTo; };