From b8dadd82d4afff0e5e6b6a8a00df948045d31503 Mon Sep 17 00:00:00 2001 From: Simon Gagne Date: Thu, 16 Mar 2023 10:06:04 -0400 Subject: Commit pour deplacement vers VSStudio --- song.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'song.h') diff --git a/song.h b/song.h index e4b2389..3a33d84 100644 --- a/song.h +++ b/song.h @@ -1,7 +1,7 @@ #ifndef __SONG_H__ #define __SONG_H__ -#include "chord.h" +#include "chordNote.h" #include // 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 chords; + std::vector 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 getChords(); + std::vector getChords(); }; #include "song.cpp" -- cgit v1.2.3