comparison data/model/WritableWaveFileModel.h @ 1752:6d09d68165a4 by-id

Further review of ById: make IDs only available when adding a model to the ById store, not by querying the item directly. This means any id encountered in the wild must have been added to the store at some point (even if later released), which simplifies reasoning about lifecycles
author Chris Cannam
date Fri, 05 Jul 2019 15:28:07 +0100
parents 78fe29adfd16
children dffc70996f54
comparison
equal deleted inserted replaced
1751:77543124651b 1752:6d09d68165a4
195 void toXml(QTextStream &out, 195 void toXml(QTextStream &out,
196 QString indent = "", 196 QString indent = "",
197 QString extraAttributes = "") const override; 197 QString extraAttributes = "") const override;
198 198
199 signals: 199 signals:
200 void writeCompleted(); 200 void writeCompleted(ModelId);
201 201
202 protected: 202 protected:
203 ReadOnlyWaveFileModel *m_model; 203 ReadOnlyWaveFileModel *m_model;
204 204
205 /** When normalising, this writer is used to write verbatim 205 /** When normalising, this writer is used to write verbatim