comparison data/model/Model.h @ 391:5858cc462d0a

* Fix #1628781 changes to layer visibility and mute should use a command * Also use a command for changes to layer playback pan, gain, plugin settings * Refactor PlayParameterRepository to remove dependency on audioio from base * Fix failure to save play parameters for main model in session file
author Chris Cannam
date Thu, 13 Mar 2008 14:06:03 +0000
parents 700cd3350391
children 88ad01799040
comparison
equal deleted inserted replaced
390:21e79997e80f 391:5858cc462d0a
18 18
19 #include <vector> 19 #include <vector>
20 #include <QObject> 20 #include <QObject>
21 21
22 #include "base/XmlExportable.h" 22 #include "base/XmlExportable.h"
23 #include "base/Playable.h"
23 24
24 typedef std::vector<float> SampleBlock; 25 typedef std::vector<float> SampleBlock;
25 26
26 class ZoomConstraint; 27 class ZoomConstraint;
27 class AlignmentModel; 28 class AlignmentModel;
30 * Model is the base class for all data models that represent any sort 31 * Model is the base class for all data models that represent any sort
31 * of data on a time scale based on an audio frame rate. 32 * of data on a time scale based on an audio frame rate.
32 */ 33 */
33 34
34 class Model : public QObject, 35 class Model : public QObject,
35 public XmlExportable 36 public XmlExportable,
37 public Playable
36 { 38 {
37 Q_OBJECT 39 Q_OBJECT
38 40
39 public: 41 public:
40 virtual ~Model(); 42 virtual ~Model();