Mercurial > hg > svcore
comparison data/model/FlexiNoteModel.h @ 930:06579b8ffb7b warnfix_no_size_t
More size_t evisceration and warning fixes
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 14:49:49 +0100 |
parents | 59e7fe1b1003 |
children | b14064bd1f97 |
comparison
equal
deleted
inserted
replaced
929:59e7fe1b1003 | 930:06579b8ffb7b |
---|---|
226 * NoteExportable methods. | 226 * NoteExportable methods. |
227 */ | 227 */ |
228 | 228 |
229 NoteList getNotes() const | 229 NoteList getNotes() const |
230 { | 230 { |
231 return getNotes(getStartFrame(), getEndFrame()); | 231 return getNotesWithin(getStartFrame(), getEndFrame()); |
232 } | 232 } |
233 | 233 |
234 NoteList getNotes(int startFrame, int endFrame) const | 234 NoteList getNotesWithin(int startFrame, int endFrame) const |
235 { | 235 { |
236 PointList points = getPoints(startFrame, endFrame); | 236 PointList points = getPoints(startFrame, endFrame); |
237 NoteList notes; | 237 NoteList notes; |
238 for (PointList::iterator pli = points.begin(); pli != points.end(); ++pli) { | 238 for (PointList::iterator pli = points.begin(); pli != points.end(); ++pli) { |
239 int duration = pli->duration; | 239 int duration = pli->duration; |