diff data/model/AlignmentModel.h @ 1862:3072aa267248

Permit setting completion directly on the alignment model, if we aren't using a transform to populate the path source but are instead going to set the path directly after completion
author Chris Cannam
date Fri, 22 May 2020 16:23:25 +0100
parents 21c792334c2e
children
line wrap: on
line diff
--- a/data/model/AlignmentModel.h	Thu May 21 16:09:46 2020 +0100
+++ b/data/model/AlignmentModel.h	Fri May 22 16:23:25 2020 +0100
@@ -56,6 +56,8 @@
     ModelId getReferenceModel() const;
     ModelId getAlignedModel() const;
 
+    void setCompletion(int completion);
+
     sv_frame_t toReference(sv_frame_t frame) const;
     sv_frame_t fromReference(sv_frame_t frame) const;
 
@@ -107,6 +109,7 @@
     bool m_pathComplete;
     QString m_error;
     int m_relativePitch;
+    int m_explicitlySetCompletion;
 
     void constructPath() const;
     void constructReversePath() const;