summaryrefslogtreecommitdiffhomepage
path: root/MIDIPlayer.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2025-01-12 17:57:49 +0100
committerRoland Reichwein <mail@reichwein.it>2025-01-12 17:57:49 +0100
commit6ba60f7329811a4bb3a07b1e6d81156d7f3a4ac3 (patch)
treeef35f8a046e8d679f4baef3c14a421e52eae9e15 /MIDIPlayer.h
parent208a484ca309a4919f83a385f402272039817ed9 (diff)
Added MIDIPlayer (WIP)
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();
+};
+