filter locked and hidden songs from player's best in SongManager

add GetBestSongs accessor that filters like GetAllSongs
This commit is contained in:
Glenn Maynard
2004-03-07 00:17:50 +00:00
parent 765fb88f83
commit e57c9cc9b8
2 changed files with 37 additions and 6 deletions
+1
View File
@@ -64,6 +64,7 @@ public:
// Lookup
const vector<Song*> &GetAllSongs() const { return m_pSongs; }
void GetBestSongs( vector<Song*> &AddTo, CString sGroupName, int iMaxStages = 100000 /*inf*/, ProfileSlot slot=PROFILE_SLOT_MACHINE ) const;
const vector<Song*> &GetBestSongs( ProfileSlot slot=PROFILE_SLOT_MACHINE ) const { return m_pBestSongs[slot]; }
const vector<Course*> &GetBestCourses( ProfileSlot slot=PROFILE_SLOT_MACHINE ) const { return m_pBestCourses[slot]; }
void GetSongs( vector<Song*> &AddTo, CString sGroupName, int iMaxStages = 100000 /*inf*/ ) const;