aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/midiparser_qt.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/audio/midiparser_qt.h b/audio/midiparser_qt.h
index 50234020a0..ac5f45ae34 100644
--- a/audio/midiparser_qt.h
+++ b/audio/midiparser_qt.h
@@ -27,6 +27,9 @@
#include "common/array.h"
#include "common/quicktime.h"
+/**
+ * The QuickTime MIDI version of MidiParser.
+ */
class MidiParser_QT : public MidiParser, public Common::QuickTimeParser {
public:
MidiParser_QT() {}
@@ -36,9 +39,19 @@ public:
bool loadMusic(byte *data, uint32 size);
void unloadMusic();
- // Custom
+ /**
+ * Load the MIDI from a 'Tune' resource
+ */
bool loadFromTune(Common::SeekableReadStream *stream, DisposeAfterUse::Flag disposeAfterUse = DisposeAfterUse::YES);
+
+ /**
+ * Load the MIDI from a QuickTime stream
+ */
bool loadFromContainerStream(Common::SeekableReadStream *stream, DisposeAfterUse::Flag disposeAfterUse = DisposeAfterUse::YES);
+
+ /**
+ * Load the MIDI from a QuickTime file
+ */
bool loadFromContainerFile(const Common::String &fileName);
protected: