diff data/model/Model.h @ 1669:f9b6e99e0520 single-point

Remove COMPLETION_UNKNOWN, which is never used (and never handled)
author Chris Cannam
date Wed, 27 Mar 2019 11:26:06 +0000
parents 8bf3a52a1604
children 82d03c9661f9
line wrap: on
line diff
--- a/data/model/Model.h	Fri Mar 22 17:49:10 2019 +0000
+++ b/data/model/Model.h	Wed Mar 27 11:26:06 2019 +0000
@@ -140,16 +140,15 @@
      * If "completion" is non-NULL, this function should return
      * through it an estimated percentage value showing how far
      * through the background operation it thinks it is (for progress
-     * reporting).  If it has no way to calculate progress, it may
-     * return the special value COMPLETION_UNKNOWN.  See also
-     * getCompletion().
+     * reporting).
+     *
+     * See also getCompletion().
      */
     virtual bool isReady(int *completion = 0) const {
         bool ok = isOK();
         if (completion) *completion = (ok ? 100 : 0);
         return ok;
     }
-    static const int COMPLETION_UNKNOWN;
 
     /**
      * If this model imposes a zoom constraint, i.e. some limit to the