run SaveSync by calling ScreenPrompt normally (Load() is going away)

This commit is contained in:
Glenn Maynard
2005-08-14 02:00:51 +00:00
parent 23b2cbdd59
commit 1bbde2a17e
2 changed files with 6 additions and 15 deletions
+4 -10
View File
@@ -3,6 +3,7 @@
#include "GameState.h"
#include "song.h"
#include "PrefsManager.h"
#include "ScreenPrompt.h"
static CString GetPromptText()
@@ -106,17 +107,10 @@ static void RevertSyncChanges( void* pThrowAway )
GAMESTATE->RevertSyncChanges();
}
REGISTER_SCREEN_CLASS( ScreenSaveSync );
ScreenSaveSync::ScreenSaveSync( const CString &sScreenName ) :
ScreenPrompt( sScreenName )
void ScreenSaveSync::SaveSync()
{
}
void ScreenSaveSync::Init()
{
ScreenPrompt::Init();
Load(
ScreenPrompt::Prompt(
SM_None,
GetPromptText(),
PROMPT_YES_NO,
ANSWER_YES,