summaryrefslogtreecommitdiffhomepage
path: root/MIDIPlayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'MIDIPlayer.h')
-rw-r--r--MIDIPlayer.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/MIDIPlayer.h b/MIDIPlayer.h
new file mode 100644
index 0000000..e859bed
--- /dev/null
+++ b/MIDIPlayer.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#include <string>
+#include <vector>
+
+class MIDIPlayer
+{
+public:
+ MIDIPlayer();
+
+ void start();
+
+ void stop();
+
+ bool is_playing();
+
+ void set_file(const std::string& filename);
+
+ std::vector<std::string> get_filelist();
+};
+