diff options
Diffstat (limited to 'music.h')
-rw-r--r-- | music.h | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -0,0 +1,30 @@ +#ifndef MUSIC_H +#define MUSIC_H + +#include <string> +#include <vector> + +class MusicTrack { + public: + MusicTrack(const std::string filename); + std::string filename; +}; + +class MusicDirectory; +typedef std::vector<MusicDirectory> MusicDirectories; +typedef std::vector<MusicTrack> MusicTracks; + +class MusicDirectory { + public: + MusicDirectory(const std::string root); + std::string path; + MusicDirectories directories; + MusicTracks tracks; +}; + +namespace music { + extern MusicDirectory *root_directory; + void init(const std::string root); +}; + +#endif |