diff options
Diffstat (limited to 'song.h')
-rw-r--r-- | song.h | 32 |
1 files changed, 0 insertions, 32 deletions
@@ -1,32 +0,0 @@ -#ifndef __SONG_H__ -#define __SONG_H__ - -#include "chordNote.h" -#include <vector> - -// Contains a song for a guitar hero clone -class Song { - private: - std::string title; - std::string artist; - int duration; // in ms - std::string audioFile; // path to audio file - std::vector<ChordNote> chords; - public: - Song(std::string chartFile); - ~Song(); - void consolidate(); // merges chords with the same start/end times - // into a single chord - ChordNote operator[](int index); - int size(); - - std::string getTitle(); - std::string getArtist(); - int getDuration(); - std::string getAudioFile(); - std::vector<ChordNote> getChords(); -}; - -//#include "song.cpp" -#endif // __SONG_H__ - |