diff options
| author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-09-11 17:04:05 +0200 |
|---|---|---|
| committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-09-11 17:04:05 +0200 |
| commit | d148a70e245eb7cc0d75d097e07ce2614b26eaef (patch) | |
| tree | 04e86f7d26055c6ee98911f107d55d55c2c6ef6e /cuesheet.h | |
| parent | 2f4006a83889a5865080262cd843e035698af7ca (diff) | |
Added .cue-parser.
Diffstat (limited to 'cuesheet.h')
| -rw-r--r-- | cuesheet.h | 30 |
1 files changed, 30 insertions, 0 deletions
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 <QtCore> + +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> track_list; +}; + +#endif |
