@@ -13,9 +13,9 @@ class SongManager {
1313 return instance;
1414 }
1515
16- std::vector<std::string> getSongs ();
16+ std::vector<std::string>& getSongs ();
1717 void addSong (const std::string&);
18- void removeSong (const std::string& path );
18+ void removeSong (const std::string_view );
1919 int getSongsSize () const ;
2020 void clearSongs ();
2121 void pickRandomSong ();
@@ -35,43 +35,43 @@ class SongManager {
3535 bool getLavaChicken () const ;
3636 void setPlaylistIsEmpty (const bool );
3737 bool getPlaylistIsEmpty () const ;
38- void setHeldSong (const std::string& value );
38+ void setHeldSong (const std::string&);
3939 void resetHeldSong ();
4040 std::string getHeldSong ();
4141 void addToBlacklist (const std::string&);
4242 void addToBlacklist ();
43- std::vector<std::string> getBlacklist ();
44- void addToFavorites (const std::string& song );
43+ std::vector<std::string>& getBlacklist ();
44+ void addToFavorites (const std::string&);
4545 void addToFavorites ();
46- std::vector<std::string> getFavorites ();
46+ std::vector<std::string>& getFavorites ();
4747 void setOverride (const std::string&);
4848 std::string getOverrideSong ();
4949 bool isOverride () const ;
5050 void setCurrentSongToOverride ();
51- void setPreviousSong (const std::string& song );
51+ void setPreviousSong (const std::string&);
5252 void resetPreviousSong ();
5353 std::string getPreviousSong ();
5454 bool isPreviousSong () const ;
5555 bool songSizeIsBad () const ;
56- void setCurrentSongDisplayName (const std::string& displayName );
56+ void setCurrentSongDisplayName (const std::string&);
5757 std::string getCurrentSongDisplayName ();
5858 void incrementTowerRepeatCount ();
5959 void resetTowerRepeatCount ();
6060 int getTowerRepeatCount () const ;
61- void setSawbladeCustomSongsFolder (const bool value );
61+ void setSawbladeCustomSongsFolder (const bool );
6262 bool getSawbladeCustomSongsFolder () const ;
63- void setAdvancedLogs (const bool value );
63+ void setAdvancedLogs (const bool );
6464 bool getAdvancedLogs () const ;
65- void setLastMenuLoopPosition (const int millisecond );
65+ void setLastMenuLoopPosition (const int );
6666 int getLastMenuLoopPosition () const ;
6767 static void restoreLastMenuLoopPosition ();
68- void setShouldRestoreMenuLoopPoint (const bool value );
68+ void setShouldRestoreMenuLoopPoint (const bool );
6969 bool getShouldRestoreMenuLoopPoint () const ;
70- void setUndefined0Alk1m123TouchPrio (const bool value );
70+ void setUndefined0Alk1m123TouchPrio (const bool );
7171 bool getUndefined0Alk1m123TouchPrio () const ;
72- void setColonMenuLoopStartTime (geode::Mod* value );
72+ void setColonMenuLoopStartTime (geode::Mod*);
7373 geode::Mod* getColonMenuLoopStartTime () const ;
74- void setVibecodedVentilla (const bool value );
74+ void setVibecodedVentilla (const bool );
7575 bool getVibecodedVentilla () const ;
7676
7777 private:
0 commit comments