comparison data/model/ImageModel.h @ 423:6a96bff0bd59

* Update translations, and add change counter to name of bundle command
author Chris Cannam
date Thu, 12 Jun 2008 10:47:11 +0000
parents 700cd3350391
children eafef13bb0b3
comparison
equal deleted inserted replaced
422:4caa28a0a8a2 423:6a96bff0bd59
17 #define _IMAGE_MODEL_H_ 17 #define _IMAGE_MODEL_H_
18 18
19 #include "SparseModel.h" 19 #include "SparseModel.h"
20 #include "base/XmlExportable.h" 20 #include "base/XmlExportable.h"
21 #include "base/RealTime.h" 21 #include "base/RealTime.h"
22
23 #include <QStringList>
22 24
23 /** 25 /**
24 * Image point type for use in a SparseModel. This represents an 26 * Image point type for use in a SparseModel. This represents an
25 * image, identified by filename, at a given time. The filename can 27 * image, identified by filename, at a given time. The filename can
26 * be empty, in which case we instead have a space to put an image in. 28 * be empty, in which case we instead have a space to put an image in.
82 84
83 // Make this a class rather than a typedef so it can be predeclared. 85 // Make this a class rather than a typedef so it can be predeclared.
84 86
85 class ImageModel : public SparseModel<ImagePoint> 87 class ImageModel : public SparseModel<ImagePoint>
86 { 88 {
89 Q_OBJECT
90
87 public: 91 public:
88 ImageModel(size_t sampleRate, size_t resolution, bool notifyOnAdd = true) : 92 ImageModel(size_t sampleRate, size_t resolution, bool notifyOnAdd = true) :
89 SparseModel<ImagePoint>(sampleRate, resolution, notifyOnAdd) 93 SparseModel<ImagePoint>(sampleRate, resolution, notifyOnAdd)
90 { } 94 { }
91 95