write Catalog.xml only after loading songs

get rid of try/catch in SongManager
get rid of try/catch in PrefsManager
This commit is contained in:
Chris Danford
2004-05-25 05:52:57 +00:00
parent 8e654b59ea
commit 962cdfc4f0
6 changed files with 29 additions and 37 deletions
+2 -1
View File
@@ -29,7 +29,7 @@ struct PlayerOptions;
class SongManager
{
public:
SongManager( LoadingWindow *ld );
SongManager();
~SongManager();
void InitSongsFromDisk( LoadingWindow *ld );
@@ -45,6 +45,7 @@ public:
void InitAutogenCourses();
void FreeCourses();
void InitAll( LoadingWindow *ld ); // songs, courses, groups - everything.
void Reload( LoadingWindow *ld=NULL ); // songs, courses, groups - everything.
void PreloadSongImages();