Mercurial > hg > svcore
diff data/fileio/MIDIFileReader.h @ 301:73537d900d4b
* Add MIDI file export (closes FR#1643721)
author | Chris Cannam |
---|---|
date | Thu, 04 Oct 2007 11:52:38 +0000 |
parents | 084ae1c213ee |
children | 183ee2a55fc7 |
line wrap: on
line diff
--- a/data/fileio/MIDIFileReader.h Mon Oct 01 13:48:38 2007 +0000 +++ b/data/fileio/MIDIFileReader.h Thu Oct 04 11:52:38 2007 +0000 @@ -33,6 +33,8 @@ class MIDIEvent; +typedef unsigned char MIDIByte; + class MIDIFileReader : public DataFileReader { Q_OBJECT @@ -45,8 +47,6 @@ virtual QString getError() const; virtual Model *load() const; - typedef unsigned char MIDIByte; - protected: typedef std::vector<MIDIEvent *> MIDITrack; typedef std::map<unsigned int, MIDITrack> MIDIComposition;