summaryrefslogtreecommitdiff
path: root/song.h
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-03-21 00:37:04 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-03-21 00:37:04 -0400
commit141fd9b9b5b02257521e41e71562bed6da2523dc (patch)
treea936aebc4a98a31ffbd60f926d49eeb0017cb388 /song.h
parent5c0108edb4efaa19a1198905718ef0d7db2a4635 (diff)
Purification par le feu
Diffstat (limited to 'song.h')
-rw-r--r--song.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/song.h b/song.h
deleted file mode 100644
index c8f08a1..0000000
--- a/song.h
+++ /dev/null
@@ -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__
-