aboutsummaryrefslogtreecommitdiff
path: root/core/qmpmidiplay.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/qmpmidiplay.hpp')
-rw-r--r--core/qmpmidiplay.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/qmpmidiplay.hpp b/core/qmpmidiplay.hpp
index b911844..ebc62d6 100644
--- a/core/qmpmidiplay.hpp
+++ b/core/qmpmidiplay.hpp
@@ -38,8 +38,9 @@ class CMidiFileReaderCollection{
std::vector<std::pair<IMidiFileReader*,std::string>> readers;
CMidiFile* file;
uint32_t maxtk;
- void destructFile(CMidiFile*& f);
IMidiFileReader* currentReader;
+ void destructFile(CMidiFile*& f);
+ void dumpFile();
public:
CMidiFileReaderCollection();
~CMidiFileReaderCollection();
@@ -59,6 +60,7 @@ public:
};
class CMidiPlayer
{
+ friend class CMidiFileReaderCollection;
private:
CMidiFileReaderCollection *midiReaders;
uint32_t stamps[101],notes;