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