Big Mouth Billy Bass automation library

Dependents:   BillyBass_with_SD

Revision:
1:9b1f3eb204ac
Parent:
0:84aaade0de8f
Child:
2:eaba75af0f0d
--- a/song.hpp	Mon Jun 17 22:17:59 2013 +0000
+++ b/song.hpp	Tue Jun 18 00:07:47 2013 +0000
@@ -10,20 +10,16 @@
 class Song
 {
 public:
-
     typedef std::vector<Action> actions_t;
 
     // _name is relative to BASS_DIRECTORY
     // return a pointer to a fully read-in Song if valid
     // also adds new song to songs
     static Song *newSong(char const *_name);
-    static std::list<Song*> songs;
-    static unsigned readAllSongs(DIR *bassDir);
-    static void clearAllSongs();
 
-    Song() : sequenceNumber(0), whichFish(NO_FISH), basename(0), extension(0)  {
+    Song() : sequenceNumber(0), whichFish(NO_FISH), basename(0), extension(0) {
         fullname[0] = 0;
-        actions.reserve(60);
+        actions.reserve(MAX_ACTIONS_PER_SONG);
     }
 
     bool isValid() const {