diff options
Diffstat (limited to 'MIDIPlayer.h')
-rw-r--r-- | MIDIPlayer.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/MIDIPlayer.h b/MIDIPlayer.h index e859bed..e104321 100644 --- a/MIDIPlayer.h +++ b/MIDIPlayer.h @@ -3,10 +3,14 @@ #include <string> #include <vector> +#include <boost/process.hpp> + +#include <filesystem> + class MIDIPlayer { public: - MIDIPlayer(); + MIDIPlayer(const std::filesystem::path& path = "."); void start(); @@ -16,6 +20,13 @@ public: void set_file(const std::string& filename); + std::string get_file(); + std::vector<std::string> get_filelist(); + +private: + boost::process::child m_child; + std::filesystem::path m_dir; + std::string m_file; }; |