From d148a70e245eb7cc0d75d097e07ce2614b26eaef Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 11 Sep 2010 17:04:05 +0200 Subject: Added .cue-parser. --- cuesheet.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 cuesheet.h (limited to 'cuesheet.h') diff --git a/cuesheet.h b/cuesheet.h new file mode 100644 index 0000000..1546d75 --- /dev/null +++ b/cuesheet.h @@ -0,0 +1,30 @@ +#ifndef CUESHEET_H +#define CUESHEET_H + +#include + +class CueSheet { + class Track { + public: + int num; + QString artist; + QString name; + int index; + }; + + public: + CueSheet(const QString& filename); + + const QString& artist() const; + const QString& name() const; + int tracks() const; + + const Track& operator[](int track) const; + + private: + QString album_artist; + QString album_name; + QList track_list; +}; + +#endif -- cgit v1.2.3