Modify AutoScreenMessage to keep map of all non-standard ScreenMessages.
This has a lot of advantages over the old ways. Some of the initial ones are that you can log a list of all screenmessages and their respective number and another is that it would be fairly easy to add a reverse lookup, so you could get the name of a ScreenMessage for log use by getting the ScreenMessage number.
This commit is contained in:
@@ -32,9 +32,9 @@ OptionRowDefinition g_ProfileOptionsLines[NUM_PROFILE_OPTIONS_LINES] = {
|
||||
OptionRowDefinition( "OsMountPlayer2", true, "" ),
|
||||
};
|
||||
|
||||
const AutoScreenMessage SM_DoneCreating;
|
||||
const AutoScreenMessage SM_DoneRenaming;
|
||||
const AutoScreenMessage SM_DoneDeleting;
|
||||
AutoScreenMessage( SM_DoneCreating )
|
||||
AutoScreenMessage( SM_DoneRenaming )
|
||||
AutoScreenMessage( SM_DoneDeleting )
|
||||
|
||||
REGISTER_SCREEN_CLASS( ScreenProfileOptions );
|
||||
ScreenProfileOptions::ScreenProfileOptions( CString sClassName ) : ScreenOptions( sClassName )
|
||||
|
||||
Reference in New Issue
Block a user