Clean up warnings (waring level 4) in settings type files
This commit is contained in:
parent
18420c0e8b
commit
cfbf35fb5e
|
@ -49,7 +49,7 @@ CSettingTypeApplication::~CSettingTypeApplication()
|
|||
}
|
||||
|
||||
|
||||
void CSettingTypeApplication::Initilize( const char * AppName )
|
||||
void CSettingTypeApplication::Initilize( const char * /*AppName*/ )
|
||||
{
|
||||
stdstr SettingsFile, OrigSettingsFile;
|
||||
|
||||
|
@ -99,7 +99,7 @@ void CSettingTypeApplication::CleanUp()
|
|||
}
|
||||
}
|
||||
|
||||
bool CSettingTypeApplication::Load ( int Index, bool & Value ) const
|
||||
bool CSettingTypeApplication::Load ( int /*Index*/, bool & Value ) const
|
||||
{
|
||||
bool bRes = false;
|
||||
|
||||
|
@ -127,9 +127,9 @@ bool CSettingTypeApplication::Load ( int Index, bool & Value ) const
|
|||
return bRes;
|
||||
}
|
||||
|
||||
bool CSettingTypeApplication::Load ( int Index, ULONG & Value ) const
|
||||
bool CSettingTypeApplication::Load ( int /*Index*/, ULONG & Value ) const
|
||||
{
|
||||
bool bRes;
|
||||
bool bRes = false;
|
||||
if (!m_UseRegistry)
|
||||
{
|
||||
bRes = m_SettingsIniFile->GetNumber(SectionName(),m_KeyNameIdex.c_str(),Value,Value);
|
||||
|
@ -155,15 +155,10 @@ LPCSTR CSettingTypeApplication::SectionName ( void ) const
|
|||
|
||||
bool CSettingTypeApplication::Load ( int Index, stdstr & Value ) const
|
||||
{
|
||||
bool bRes;
|
||||
bool bRes = false;
|
||||
if (!m_UseRegistry)
|
||||
{
|
||||
if (m_SettingsIniFile)
|
||||
{
|
||||
bRes = m_SettingsIniFile->GetString(SectionName(),m_KeyNameIdex.c_str(),m_DefaultStr,Value);
|
||||
} else {
|
||||
bRes = false;
|
||||
}
|
||||
bRes = m_SettingsIniFile ? m_SettingsIniFile->GetString(SectionName(),m_KeyNameIdex.c_str(),m_DefaultStr,Value) : false;
|
||||
} else {
|
||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
@ -175,7 +170,7 @@ bool CSettingTypeApplication::Load ( int Index, stdstr & Value ) const
|
|||
}
|
||||
|
||||
//return the default values
|
||||
void CSettingTypeApplication::LoadDefault ( int Index, bool & Value ) const
|
||||
void CSettingTypeApplication::LoadDefault ( int /*Index*/, bool & Value ) const
|
||||
{
|
||||
if (m_DefaultSetting != Default_None)
|
||||
{
|
||||
|
@ -188,7 +183,7 @@ void CSettingTypeApplication::LoadDefault ( int Index, bool & Value ) const
|
|||
}
|
||||
}
|
||||
|
||||
void CSettingTypeApplication::LoadDefault ( int Index, ULONG & Value ) const
|
||||
void CSettingTypeApplication::LoadDefault ( int /*Index*/, ULONG & Value ) const
|
||||
{
|
||||
if (m_DefaultSetting != Default_None)
|
||||
{
|
||||
|
@ -201,7 +196,7 @@ void CSettingTypeApplication::LoadDefault ( int Index, ULONG & Value ) const
|
|||
}
|
||||
}
|
||||
|
||||
void CSettingTypeApplication::LoadDefault ( int Index, stdstr & Value ) const
|
||||
void CSettingTypeApplication::LoadDefault ( int /*Index*/, stdstr & Value ) const
|
||||
{
|
||||
if (m_DefaultSetting != Default_None)
|
||||
{
|
||||
|
@ -215,7 +210,7 @@ void CSettingTypeApplication::LoadDefault ( int Index, stdstr & Value ) const
|
|||
}
|
||||
|
||||
//Update the settings
|
||||
void CSettingTypeApplication::Save ( int Index, bool Value )
|
||||
void CSettingTypeApplication::Save ( int /*Index*/, bool Value )
|
||||
{
|
||||
if (!m_UseRegistry)
|
||||
{
|
||||
|
@ -225,7 +220,7 @@ void CSettingTypeApplication::Save ( int Index, bool Value )
|
|||
}
|
||||
}
|
||||
|
||||
void CSettingTypeApplication::Save ( int Index, ULONG Value )
|
||||
void CSettingTypeApplication::Save ( int /*Index*/, ULONG Value )
|
||||
{
|
||||
if (!m_UseRegistry)
|
||||
{
|
||||
|
@ -235,7 +230,7 @@ void CSettingTypeApplication::Save ( int Index, ULONG Value )
|
|||
}
|
||||
}
|
||||
|
||||
void CSettingTypeApplication::Save ( int Index, const stdstr & Value )
|
||||
void CSettingTypeApplication::Save ( int /*Index*/, const stdstr & Value )
|
||||
{
|
||||
if (!m_UseRegistry)
|
||||
{
|
||||
|
@ -245,7 +240,7 @@ void CSettingTypeApplication::Save ( int Index, const stdstr & Value )
|
|||
}
|
||||
}
|
||||
|
||||
void CSettingTypeApplication::Save ( int Index, const char * Value )
|
||||
void CSettingTypeApplication::Save ( int /*Index*/, const char * Value )
|
||||
{
|
||||
if (!m_UseRegistry)
|
||||
{
|
||||
|
@ -270,7 +265,7 @@ stdstr CSettingTypeApplication::FixSectionName(LPCSTR Section)
|
|||
return SectionName;
|
||||
}
|
||||
|
||||
void CSettingTypeApplication::Delete( int Index )
|
||||
void CSettingTypeApplication::Delete( int /*Index*/ )
|
||||
{
|
||||
if (!m_UseRegistry)
|
||||
{
|
||||
|
|
|
@ -65,13 +65,13 @@ void CSettingTypeCheats::UpdateSettings ( void * )
|
|||
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
}*/
|
||||
|
||||
bool CSettingTypeCheats::Load ( int Index, bool & Value ) const
|
||||
bool CSettingTypeCheats::Load ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CSettingTypeCheats::Load ( int Index, ULONG & Value ) const
|
||||
bool CSettingTypeCheats::Load ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
|
@ -88,28 +88,28 @@ bool CSettingTypeCheats::Load ( int Index, stdstr & Value ) const
|
|||
}
|
||||
|
||||
//return the default values
|
||||
void CSettingTypeCheats::LoadDefault ( int Index, bool & Value ) const
|
||||
void CSettingTypeCheats::LoadDefault ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeCheats::LoadDefault ( int Index, ULONG & Value ) const
|
||||
void CSettingTypeCheats::LoadDefault ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeCheats::LoadDefault ( int Index, stdstr & Value ) const
|
||||
void CSettingTypeCheats::LoadDefault ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
//Update the settings
|
||||
void CSettingTypeCheats::Save ( int Index, bool Value )
|
||||
void CSettingTypeCheats::Save ( int /*Index*/, bool /*Value*/ )
|
||||
{
|
||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeCheats::Save ( int Index, ULONG Value )
|
||||
void CSettingTypeCheats::Save ( int /*Index*/, ULONG /*Value*/ )
|
||||
{
|
||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ bool CSettingTypeGameIndex::Load ( int Index, bool & Value ) const
|
|||
return CSettingTypeGame::Load(Index,Value);
|
||||
}
|
||||
|
||||
bool CSettingTypeGameIndex::Load ( int Index, ULONG & Value ) const
|
||||
bool CSettingTypeGameIndex::Load ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
|
@ -54,12 +54,12 @@ void CSettingTypeGameIndex::LoadDefault ( int Index, bool & Value ) const
|
|||
CSettingTypeGame::LoadDefault(0,Value);
|
||||
}
|
||||
|
||||
void CSettingTypeGameIndex::LoadDefault ( int Index, ULONG & Value ) const
|
||||
void CSettingTypeGameIndex::LoadDefault ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeGameIndex::LoadDefault ( int Index, stdstr & Value ) const
|
||||
void CSettingTypeGameIndex::LoadDefault ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ void CSettingTypeGameIndex::Save ( int Index, ULONG Value )
|
|||
CSettingTypeGame::Save(0,Value);
|
||||
}
|
||||
|
||||
void CSettingTypeGameIndex::Save ( int Index, const stdstr & Value )
|
||||
void CSettingTypeGameIndex::Save ( int /*Index*/, const stdstr & /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ CSettingTypeRDBCpuType::~CSettingTypeRDBCpuType()
|
|||
{
|
||||
}
|
||||
|
||||
bool CSettingTypeRDBCpuType::Load ( int Index, bool & Value ) const
|
||||
bool CSettingTypeRDBCpuType::Load ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
|
@ -46,19 +46,19 @@ bool CSettingTypeRDBCpuType::Load ( int Index, ULONG & Value ) const
|
|||
return true;
|
||||
}
|
||||
|
||||
bool CSettingTypeRDBCpuType::Load ( int Index, stdstr & Value ) const
|
||||
bool CSettingTypeRDBCpuType::Load ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
//return the default values
|
||||
void CSettingTypeRDBCpuType::LoadDefault ( int Index, bool & Value ) const
|
||||
void CSettingTypeRDBCpuType::LoadDefault ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBCpuType::LoadDefault ( int Index, ULONG & Value ) const
|
||||
void CSettingTypeRDBCpuType::LoadDefault ( int /*Index*/, ULONG & Value ) const
|
||||
{
|
||||
if (m_DefaultSetting != Default_None)
|
||||
{
|
||||
|
@ -71,18 +71,18 @@ void CSettingTypeRDBCpuType::LoadDefault ( int Index, ULONG & Value ) const
|
|||
}
|
||||
}
|
||||
|
||||
void CSettingTypeRDBCpuType::LoadDefault ( int Index, stdstr & Value ) const
|
||||
void CSettingTypeRDBCpuType::LoadDefault ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
//Update the settings
|
||||
void CSettingTypeRDBCpuType::Save ( int Index, bool Value )
|
||||
void CSettingTypeRDBCpuType::Save ( int /*Index*/, bool /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBCpuType::Save ( int Index, ULONG Value )
|
||||
void CSettingTypeRDBCpuType::Save ( int /*Index*/, ULONG Value )
|
||||
{
|
||||
|
||||
stdstr strValue;
|
||||
|
@ -97,17 +97,17 @@ void CSettingTypeRDBCpuType::Save ( int Index, ULONG Value )
|
|||
m_SettingsIniFile->SaveString(m_SectionIdent->c_str(),m_KeyName.c_str(),strValue.c_str());
|
||||
}
|
||||
|
||||
void CSettingTypeRDBCpuType::Save ( int Index, const stdstr & Value )
|
||||
void CSettingTypeRDBCpuType::Save ( int /*Index*/, const stdstr & /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBCpuType::Save ( int Index, const char * Value )
|
||||
void CSettingTypeRDBCpuType::Save ( int /*Index*/, const char * /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBCpuType::Delete( int Index )
|
||||
void CSettingTypeRDBCpuType::Delete( int /*Index*/ )
|
||||
{
|
||||
m_SettingsIniFile->SaveString(m_SectionIdent->c_str(),m_KeyName.c_str(),NULL);
|
||||
}
|
||||
|
|
|
@ -39,20 +39,20 @@ bool CSettingTypeRDBOnOff::Load ( int Index, bool & Value ) const
|
|||
return true;
|
||||
}
|
||||
|
||||
bool CSettingTypeRDBOnOff::Load ( int Index, ULONG & Value ) const
|
||||
bool CSettingTypeRDBOnOff::Load ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CSettingTypeRDBOnOff::Load ( int Index, stdstr & Value ) const
|
||||
bool CSettingTypeRDBOnOff::Load ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
//return the default values
|
||||
void CSettingTypeRDBOnOff::LoadDefault ( int Index, bool & Value ) const
|
||||
void CSettingTypeRDBOnOff::LoadDefault ( int /*Index*/, bool & Value ) const
|
||||
{
|
||||
if (m_DefaultSetting != Default_None)
|
||||
{
|
||||
|
@ -65,39 +65,39 @@ void CSettingTypeRDBOnOff::LoadDefault ( int Index, bool & Value ) const
|
|||
}
|
||||
}
|
||||
|
||||
void CSettingTypeRDBOnOff::LoadDefault ( int Index, ULONG & Value ) const
|
||||
void CSettingTypeRDBOnOff::LoadDefault ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBOnOff::LoadDefault ( int Index, stdstr & Value ) const
|
||||
void CSettingTypeRDBOnOff::LoadDefault ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
|
||||
//Update the settings
|
||||
void CSettingTypeRDBOnOff::Save ( int Index, bool Value )
|
||||
void CSettingTypeRDBOnOff::Save ( int /*Index*/, bool Value )
|
||||
{
|
||||
m_SettingsIniFile->SaveString(m_SectionIdent->c_str(),m_KeyName.c_str(),Value? "On" : "Off");
|
||||
}
|
||||
|
||||
void CSettingTypeRDBOnOff::Save ( int Index, ULONG Value )
|
||||
void CSettingTypeRDBOnOff::Save ( int /*Index*/, ULONG /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBOnOff::Save ( int Index, const stdstr & Value )
|
||||
void CSettingTypeRDBOnOff::Save ( int /*Index*/, const stdstr & /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBOnOff::Save ( int Index, const char * Value )
|
||||
void CSettingTypeRDBOnOff::Save ( int /*Index*/, const char * /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBOnOff::Delete( int Index )
|
||||
void CSettingTypeRDBOnOff::Delete( int /*Index*/ )
|
||||
{
|
||||
m_SettingsIniFile->SaveString(m_SectionIdent->c_str(),m_KeyName.c_str(),NULL);
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ CSettingTypeRDBRDRamSize::~CSettingTypeRDBRDRamSize()
|
|||
{
|
||||
}
|
||||
|
||||
bool CSettingTypeRDBRDRamSize::Load ( int Index, bool & Value ) const
|
||||
bool CSettingTypeRDBRDRamSize::Load ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
|
@ -40,50 +40,50 @@ bool CSettingTypeRDBRDRamSize::Load ( int Index, ULONG & Value ) const
|
|||
return bRes;
|
||||
}
|
||||
|
||||
bool CSettingTypeRDBRDRamSize::Load ( int Index, stdstr & Value ) const
|
||||
bool CSettingTypeRDBRDRamSize::Load ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
//return the default values
|
||||
void CSettingTypeRDBRDRamSize::LoadDefault ( int Index, bool & Value ) const
|
||||
void CSettingTypeRDBRDRamSize::LoadDefault ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBRDRamSize::LoadDefault ( int Index, ULONG & Value ) const
|
||||
void CSettingTypeRDBRDRamSize::LoadDefault ( int /*Index*/, ULONG & Value ) const
|
||||
{
|
||||
Value = m_DefaultValue;
|
||||
}
|
||||
|
||||
void CSettingTypeRDBRDRamSize::LoadDefault ( int Index, stdstr & Value ) const
|
||||
void CSettingTypeRDBRDRamSize::LoadDefault ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
//Update the settings
|
||||
void CSettingTypeRDBRDRamSize::Save ( int Index, bool Value )
|
||||
void CSettingTypeRDBRDRamSize::Save ( int /*Index*/, bool /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBRDRamSize::Save ( int Index, ULONG Value )
|
||||
void CSettingTypeRDBRDRamSize::Save ( int /*Index*/, ULONG Value )
|
||||
{
|
||||
m_SettingsIniFile->SaveNumber(m_SectionIdent->c_str(),m_KeyName.c_str(),Value == 0x800000 ? 8 : 4);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBRDRamSize::Save ( int Index, const stdstr & Value )
|
||||
void CSettingTypeRDBRDRamSize::Save ( int /*Index*/, const stdstr & /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBRDRamSize::Save ( int Index, const char * Value )
|
||||
void CSettingTypeRDBRDRamSize::Save ( int /*Index*/, const char * /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBRDRamSize::Delete( int Index )
|
||||
void CSettingTypeRDBRDRamSize::Delete( int /*Index*/ )
|
||||
{
|
||||
m_SettingsIniFile->SaveString(m_SectionIdent->c_str(),m_KeyName.c_str(),NULL);
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ CSettingTypeRDBSaveChip::CSettingTypeRDBSaveChip(LPCSTR Name, int DefaultValue )
|
|||
{
|
||||
}
|
||||
|
||||
bool CSettingTypeRDBSaveChip::Load ( int Index, bool & Value ) const
|
||||
bool CSettingTypeRDBSaveChip::Load ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
|
@ -33,7 +33,7 @@ bool CSettingTypeRDBSaveChip::Load ( int Index, ULONG & Value ) const
|
|||
}
|
||||
LPCSTR String = strValue.c_str();
|
||||
|
||||
if (_stricmp(String,"First Save Type") == 0) { Value = SaveChip_Auto; }
|
||||
if (_stricmp(String,"First Save Type") == 0) { Value = (ULONG)SaveChip_Auto; }
|
||||
else if (_stricmp(String,"4kbit Eeprom") == 0) { Value = SaveChip_Eeprom_4K; }
|
||||
else if (_stricmp(String,"16kbit Eeprom") == 0) { Value = SaveChip_Eeprom_16K; }
|
||||
else if (_stricmp(String,"Sram") == 0) { Value = SaveChip_Sram; }
|
||||
|
@ -49,19 +49,19 @@ bool CSettingTypeRDBSaveChip::Load ( int Index, ULONG & Value ) const
|
|||
return true;
|
||||
}
|
||||
|
||||
bool CSettingTypeRDBSaveChip::Load ( int Index, stdstr & Value ) const
|
||||
bool CSettingTypeRDBSaveChip::Load ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
//return the default values
|
||||
void CSettingTypeRDBSaveChip::LoadDefault ( int Index, bool & Value ) const
|
||||
void CSettingTypeRDBSaveChip::LoadDefault ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBSaveChip::LoadDefault ( int Index, ULONG & Value ) const
|
||||
void CSettingTypeRDBSaveChip::LoadDefault ( int /*Index*/, ULONG & Value ) const
|
||||
{
|
||||
if (m_DefaultSetting != Default_None)
|
||||
{
|
||||
|
@ -74,18 +74,18 @@ void CSettingTypeRDBSaveChip::LoadDefault ( int Index, ULONG & Value ) const
|
|||
}
|
||||
}
|
||||
|
||||
void CSettingTypeRDBSaveChip::LoadDefault ( int Index, stdstr & Value ) const
|
||||
void CSettingTypeRDBSaveChip::LoadDefault ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
//Update the settings
|
||||
void CSettingTypeRDBSaveChip::Save ( int Index, bool Value )
|
||||
void CSettingTypeRDBSaveChip::Save ( int /*Index*/, bool /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBSaveChip::Save ( int Index, ULONG Value )
|
||||
void CSettingTypeRDBSaveChip::Save ( int /*Index*/, ULONG Value )
|
||||
{
|
||||
switch (Value)
|
||||
{
|
||||
|
@ -99,17 +99,17 @@ void CSettingTypeRDBSaveChip::Save ( int Index, ULONG Value )
|
|||
}
|
||||
}
|
||||
|
||||
void CSettingTypeRDBSaveChip::Save ( int Index, const stdstr & Value )
|
||||
void CSettingTypeRDBSaveChip::Save ( int /*Index*/, const stdstr & /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBSaveChip::Save ( int Index, const char * Value )
|
||||
void CSettingTypeRDBSaveChip::Save ( int /*Index*/, const char * /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBSaveChip::Delete( int Index )
|
||||
void CSettingTypeRDBSaveChip::Delete( int /*Index*/ )
|
||||
{
|
||||
m_SettingsIniFile->SaveString(m_SectionIdent->c_str(),m_KeyName.c_str(),NULL);
|
||||
}
|
||||
|
|
|
@ -42,20 +42,20 @@ bool CSettingTypeRDBYesNo::Load ( int Index, bool & Value ) const
|
|||
return true;
|
||||
}
|
||||
|
||||
bool CSettingTypeRDBYesNo::Load ( int Index, ULONG & Value ) const
|
||||
bool CSettingTypeRDBYesNo::Load ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CSettingTypeRDBYesNo::Load ( int Index, stdstr & Value ) const
|
||||
bool CSettingTypeRDBYesNo::Load ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
//return the default values
|
||||
void CSettingTypeRDBYesNo::LoadDefault ( int Index, bool & Value ) const
|
||||
void CSettingTypeRDBYesNo::LoadDefault ( int /*Index*/, bool & Value ) const
|
||||
{
|
||||
if (m_DefaultSetting != Default_None)
|
||||
{
|
||||
|
@ -68,39 +68,39 @@ void CSettingTypeRDBYesNo::LoadDefault ( int Index, bool & Value ) const
|
|||
}
|
||||
}
|
||||
|
||||
void CSettingTypeRDBYesNo::LoadDefault ( int Index, ULONG & Value ) const
|
||||
void CSettingTypeRDBYesNo::LoadDefault ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBYesNo::LoadDefault ( int Index, stdstr & Value ) const
|
||||
void CSettingTypeRDBYesNo::LoadDefault ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
|
||||
//Update the settings
|
||||
void CSettingTypeRDBYesNo::Save ( int Index, bool Value )
|
||||
void CSettingTypeRDBYesNo::Save ( int /*Index*/, bool Value )
|
||||
{
|
||||
m_SettingsIniFile->SaveString(m_SectionIdent->c_str(),m_KeyName.c_str(),Value? "Yes" : "No");
|
||||
}
|
||||
|
||||
void CSettingTypeRDBYesNo::Save ( int Index, ULONG Value )
|
||||
void CSettingTypeRDBYesNo::Save ( int /*Index*/, ULONG Value )
|
||||
{
|
||||
m_SettingsIniFile->SaveString(m_SectionIdent->c_str(),m_KeyName.c_str(),Value? "Yes" : "No");
|
||||
}
|
||||
|
||||
void CSettingTypeRDBYesNo::Save ( int Index, const stdstr & Value )
|
||||
void CSettingTypeRDBYesNo::Save ( int /*Index*/, const stdstr & /*Value*/ )
|
||||
{
|
||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBYesNo::Save ( int Index, const char * Value )
|
||||
void CSettingTypeRDBYesNo::Save ( int /*Index*/, const char * /*Value*/ )
|
||||
{
|
||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRDBYesNo::Delete( int Index )
|
||||
void CSettingTypeRDBYesNo::Delete( int /*Index*/ )
|
||||
{
|
||||
m_SettingsIniFile->SaveString(m_SectionIdent->c_str(),m_KeyName.c_str(),NULL);
|
||||
}
|
||||
|
|
|
@ -11,49 +11,49 @@ CSettingTypeRelativePath::~CSettingTypeRelativePath ( void )
|
|||
{
|
||||
}
|
||||
|
||||
bool CSettingTypeRelativePath::Load ( int Index, stdstr & value ) const
|
||||
bool CSettingTypeRelativePath::Load ( int /*Index*/, stdstr & value ) const
|
||||
{
|
||||
value = (LPCSTR)m_FileName;
|
||||
return true;
|
||||
}
|
||||
|
||||
//return the default values
|
||||
void CSettingTypeRelativePath::LoadDefault ( int Index, bool & Value ) const
|
||||
void CSettingTypeRelativePath::LoadDefault ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRelativePath::LoadDefault ( int Index, ULONG & Value ) const
|
||||
void CSettingTypeRelativePath::LoadDefault ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRelativePath::LoadDefault ( int Index, stdstr & Value ) const
|
||||
void CSettingTypeRelativePath::LoadDefault ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRelativePath::Save ( int Index, bool Value )
|
||||
void CSettingTypeRelativePath::Save ( int /*Index*/, bool /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRelativePath::Save ( int Index, ULONG Value )
|
||||
void CSettingTypeRelativePath::Save ( int /*Index*/, ULONG /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRelativePath::Save ( int Index, const stdstr & Value )
|
||||
void CSettingTypeRelativePath::Save ( int /*Index*/, const stdstr & Value )
|
||||
{
|
||||
m_FileName = CPath(CPath::MODULE_DIRECTORY,Value.c_str());
|
||||
}
|
||||
|
||||
void CSettingTypeRelativePath::Save ( int Index, const char * Value )
|
||||
void CSettingTypeRelativePath::Save ( int /*Index*/, const char * Value )
|
||||
{
|
||||
m_FileName = CPath(CPath::MODULE_DIRECTORY,Value);
|
||||
}
|
||||
|
||||
void CSettingTypeRelativePath::Delete ( int Index )
|
||||
void CSettingTypeRelativePath::Delete ( int /*Index*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@ public:
|
|||
SettingType GetSettingType ( void ) const { return SettingType_RelativePath; }
|
||||
|
||||
//return the values
|
||||
bool Load ( int Index, bool & Value ) const { return false; };
|
||||
bool Load ( int Index, ULONG & Value ) const { return false; };
|
||||
bool Load ( int /*Index*/, bool & /*Value*/ ) const { return false; };
|
||||
bool Load ( int /*Index*/, ULONG & /*Value*/ ) const { return false; };
|
||||
bool Load ( int Index, stdstr & Value ) const;
|
||||
|
||||
//return the default values
|
||||
|
|
|
@ -111,7 +111,7 @@ bool CSettingTypeRomDatabase::Load ( int Index, stdstr & Value ) const
|
|||
|
||||
|
||||
//return the default values
|
||||
void CSettingTypeRomDatabase::LoadDefault ( int Index, bool & Value ) const
|
||||
void CSettingTypeRomDatabase::LoadDefault ( int /*Index*/, bool & Value ) const
|
||||
{
|
||||
if (m_DefaultSetting != Default_None)
|
||||
{
|
||||
|
@ -124,7 +124,7 @@ void CSettingTypeRomDatabase::LoadDefault ( int Index, bool & Value ) const
|
|||
}
|
||||
}
|
||||
|
||||
void CSettingTypeRomDatabase::LoadDefault ( int Index, ULONG & Value ) const
|
||||
void CSettingTypeRomDatabase::LoadDefault ( int /*Index*/, ULONG & Value ) const
|
||||
{
|
||||
if (m_DefaultSetting != Default_None)
|
||||
{
|
||||
|
@ -137,7 +137,7 @@ void CSettingTypeRomDatabase::LoadDefault ( int Index, ULONG & Value ) const
|
|||
}
|
||||
}
|
||||
|
||||
void CSettingTypeRomDatabase::LoadDefault ( int Index, stdstr & Value ) const
|
||||
void CSettingTypeRomDatabase::LoadDefault ( int /*Index*/, stdstr & Value ) const
|
||||
{
|
||||
if (m_DefaultSetting != Default_None)
|
||||
{
|
||||
|
@ -152,7 +152,7 @@ void CSettingTypeRomDatabase::LoadDefault ( int Index, stdstr & Value ) const
|
|||
|
||||
|
||||
//Update the settings
|
||||
void CSettingTypeRomDatabase::Save ( int Index, bool Value )
|
||||
void CSettingTypeRomDatabase::Save ( int /*Index*/, bool Value )
|
||||
{
|
||||
if (m_DeleteOnDefault)
|
||||
{
|
||||
|
@ -176,17 +176,17 @@ void CSettingTypeRomDatabase::Save ( int Index, ULONG Value )
|
|||
m_SettingsIniFile->SaveNumber(m_SectionIdent->c_str(),m_KeyName.c_str(),Value);
|
||||
}
|
||||
|
||||
void CSettingTypeRomDatabase::Save ( int Index, const stdstr & Value )
|
||||
void CSettingTypeRomDatabase::Save ( int /*Index*/, const stdstr & Value )
|
||||
{
|
||||
m_SettingsIniFile->SaveString(m_SectionIdent->c_str(),m_KeyName.c_str(),Value.c_str());
|
||||
}
|
||||
|
||||
void CSettingTypeRomDatabase::Save ( int Index, const char * Value )
|
||||
void CSettingTypeRomDatabase::Save ( int /*Index*/, const char * Value )
|
||||
{
|
||||
m_SettingsIniFile->SaveString(m_SectionIdent->c_str(),m_KeyName.c_str(),Value);
|
||||
}
|
||||
|
||||
void CSettingTypeRomDatabase::Delete ( int Index )
|
||||
void CSettingTypeRomDatabase::Delete ( int /*Index*/ )
|
||||
{
|
||||
m_SettingsIniFile->SaveString(m_SectionIdent->c_str(),m_KeyName.c_str(),NULL);
|
||||
}
|
||||
|
|
|
@ -34,19 +34,19 @@ CSettingTypeRomDatabaseIndex::~CSettingTypeRomDatabaseIndex()
|
|||
{
|
||||
}
|
||||
|
||||
bool CSettingTypeRomDatabaseIndex::Load ( int Index, bool & Value ) const
|
||||
bool CSettingTypeRomDatabaseIndex::Load ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CSettingTypeRomDatabaseIndex::Load ( int Index, ULONG & Value ) const
|
||||
bool CSettingTypeRomDatabaseIndex::Load ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CSettingTypeRomDatabaseIndex::Load ( int Index, stdstr & Value ) const
|
||||
bool CSettingTypeRomDatabaseIndex::Load ( int Index, stdstr & Value ) const
|
||||
{
|
||||
m_KeyName.Format("%s%d%s",m_PreIndex.c_str(),Index,m_PostIndex.c_str());
|
||||
return CSettingTypeRomDatabase::Load(0,Value);
|
||||
|
@ -70,27 +70,27 @@ void CSettingTypeRomDatabaseIndex::LoadDefault ( int Index, stdstr & Value ) con
|
|||
CSettingTypeRomDatabase::LoadDefault(0,Value);
|
||||
}
|
||||
|
||||
void CSettingTypeRomDatabaseIndex::Save ( int Index, bool Value )
|
||||
void CSettingTypeRomDatabaseIndex::Save ( int /*Index*/, bool /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRomDatabaseIndex::Save ( int Index, ULONG Value )
|
||||
void CSettingTypeRomDatabaseIndex::Save ( int /*Index*/, ULONG /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRomDatabaseIndex::Save ( int Index, const stdstr & Value )
|
||||
void CSettingTypeRomDatabaseIndex::Save ( int /*Index*/, const stdstr & /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRomDatabaseIndex::Save ( int Index, const char * Value )
|
||||
void CSettingTypeRomDatabaseIndex::Save ( int /*Index*/, const char * /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeRomDatabaseIndex::Delete ( int Index )
|
||||
void CSettingTypeRomDatabaseIndex::Delete ( int /*Index*/ )
|
||||
{
|
||||
m_SettingsIniFile->SaveString(m_SectionIdent->c_str(),m_KeyName.c_str(),NULL);
|
||||
}
|
||||
|
|
|
@ -14,63 +14,63 @@ CSettingTypeSelectedDirectory::~CSettingTypeSelectedDirectory()
|
|||
{
|
||||
}
|
||||
|
||||
bool CSettingTypeSelectedDirectory::Load ( int Index, bool & Value ) const
|
||||
bool CSettingTypeSelectedDirectory::Load ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CSettingTypeSelectedDirectory::Load ( int Index, ULONG & Value ) const
|
||||
bool CSettingTypeSelectedDirectory::Load ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CSettingTypeSelectedDirectory::Load ( int Index, stdstr & Value ) const
|
||||
bool CSettingTypeSelectedDirectory::Load ( int /*Index*/, stdstr & Value ) const
|
||||
{
|
||||
SettingID DirSettingId = _Settings->LoadBool(m_UseSelected) ? m_SelectedDir : m_InitialDir;
|
||||
return _Settings->LoadString(DirSettingId, Value);
|
||||
}
|
||||
|
||||
//return the default values
|
||||
void CSettingTypeSelectedDirectory::LoadDefault ( int Index, bool & Value ) const
|
||||
void CSettingTypeSelectedDirectory::LoadDefault ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeSelectedDirectory::LoadDefault ( int Index, ULONG & Value ) const
|
||||
void CSettingTypeSelectedDirectory::LoadDefault ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeSelectedDirectory::LoadDefault ( int Index, stdstr & Value ) const
|
||||
void CSettingTypeSelectedDirectory::LoadDefault ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
//Update the settings
|
||||
void CSettingTypeSelectedDirectory::Save ( int Index, bool Value )
|
||||
void CSettingTypeSelectedDirectory::Save ( int /*Index*/, bool /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeSelectedDirectory::Save ( int Index, ULONG Value )
|
||||
void CSettingTypeSelectedDirectory::Save ( int /*Index*/, ULONG /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeSelectedDirectory::Save ( int Index, const stdstr & Value )
|
||||
void CSettingTypeSelectedDirectory::Save ( int /*Index*/, const stdstr & /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeSelectedDirectory::Save ( int Index, const char * Value )
|
||||
void CSettingTypeSelectedDirectory::Save ( int /*Index*/, const char * Value )
|
||||
{
|
||||
_Settings->SaveBool(m_UseSelected,true);
|
||||
_Settings->SaveString(m_SelectedDir,Value);
|
||||
}
|
||||
|
||||
void CSettingTypeSelectedDirectory::Delete( int Index )
|
||||
void CSettingTypeSelectedDirectory::Delete( int /*Index*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
|
|
@ -10,61 +10,61 @@ CSettingTypeTempBool::~CSettingTypeTempBool ( void )
|
|||
{
|
||||
}
|
||||
|
||||
bool CSettingTypeTempBool::Load ( int Index, bool & Value ) const
|
||||
bool CSettingTypeTempBool::Load ( int /*Index*/, bool & Value ) const
|
||||
{
|
||||
Value = m_value;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CSettingTypeTempBool::Load ( int Index, ULONG & Value ) const
|
||||
bool CSettingTypeTempBool::Load ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CSettingTypeTempBool::Load ( int Index, stdstr & Value ) const
|
||||
bool CSettingTypeTempBool::Load ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
//return the default values
|
||||
void CSettingTypeTempBool::LoadDefault ( int Index, bool & Value ) const
|
||||
void CSettingTypeTempBool::LoadDefault ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempBool::LoadDefault ( int Index, ULONG & Value ) const
|
||||
void CSettingTypeTempBool::LoadDefault ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempBool::LoadDefault ( int Index, stdstr & Value ) const
|
||||
void CSettingTypeTempBool::LoadDefault ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempBool::Save ( int Index, bool Value )
|
||||
void CSettingTypeTempBool::Save ( int /*Index*/, bool Value )
|
||||
{
|
||||
m_value = Value;
|
||||
}
|
||||
|
||||
void CSettingTypeTempBool::Save ( int Index, ULONG Value )
|
||||
void CSettingTypeTempBool::Save ( int /*Index*/, ULONG /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempBool::Save ( int Index, const stdstr & Value )
|
||||
void CSettingTypeTempBool::Save ( int /*Index*/, const stdstr & /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempBool::Save ( int Index, const char * Value )
|
||||
void CSettingTypeTempBool::Save ( int /*Index*/, const char * /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempBool::Delete( int Index )
|
||||
void CSettingTypeTempBool::Delete( int /*Index*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
|
|
@ -10,61 +10,61 @@ CSettingTypeTempNumber::~CSettingTypeTempNumber ( void )
|
|||
{
|
||||
}
|
||||
|
||||
bool CSettingTypeTempNumber::Load ( int Index, bool & Value ) const
|
||||
bool CSettingTypeTempNumber::Load ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CSettingTypeTempNumber::Load ( int Index, ULONG & Value ) const
|
||||
bool CSettingTypeTempNumber::Load ( int /*Index*/, ULONG & Value ) const
|
||||
{
|
||||
Value = m_value;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CSettingTypeTempNumber::Load ( int Index, stdstr & Value ) const
|
||||
bool CSettingTypeTempNumber::Load ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
//return the default values
|
||||
void CSettingTypeTempNumber::LoadDefault ( int Index, bool & Value ) const
|
||||
void CSettingTypeTempNumber::LoadDefault ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempNumber::LoadDefault ( int Index, ULONG & Value ) const
|
||||
void CSettingTypeTempNumber::LoadDefault ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempNumber::LoadDefault ( int Index, stdstr & Value ) const
|
||||
void CSettingTypeTempNumber::LoadDefault ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempNumber::Save ( int Index, bool Value )
|
||||
void CSettingTypeTempNumber::Save ( int /*Index*/, bool /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempNumber::Save ( int Index, ULONG Value )
|
||||
void CSettingTypeTempNumber::Save ( int /*Index*/, ULONG Value )
|
||||
{
|
||||
m_value = Value;
|
||||
}
|
||||
|
||||
void CSettingTypeTempNumber::Save ( int Index, const stdstr & Value )
|
||||
void CSettingTypeTempNumber::Save ( int /*Index*/, const stdstr & /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempNumber::Save ( int Index, const char * Value )
|
||||
void CSettingTypeTempNumber::Save ( int /*Index*/, const char * /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempNumber::Delete( int Index )
|
||||
void CSettingTypeTempNumber::Delete( int /*Index*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
|
|
@ -11,61 +11,61 @@ CSettingTypeTempString::~CSettingTypeTempString ( void )
|
|||
}
|
||||
|
||||
|
||||
bool CSettingTypeTempString::Load ( int Index, bool & Value ) const
|
||||
bool CSettingTypeTempString::Load ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CSettingTypeTempString::Load ( int Index, ULONG & Value ) const
|
||||
bool CSettingTypeTempString::Load ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CSettingTypeTempString::Load ( int Index, stdstr & Value ) const
|
||||
bool CSettingTypeTempString::Load ( int /*Index*/, stdstr & Value ) const
|
||||
{
|
||||
Value = m_value;
|
||||
return true;
|
||||
}
|
||||
|
||||
//return the default values
|
||||
void CSettingTypeTempString::LoadDefault ( int Index, bool & Value ) const
|
||||
void CSettingTypeTempString::LoadDefault ( int /*Index*/, bool & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempString::LoadDefault ( int Index, ULONG & Value ) const
|
||||
void CSettingTypeTempString::LoadDefault ( int /*Index*/, ULONG & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempString::LoadDefault ( int Index, stdstr & Value ) const
|
||||
void CSettingTypeTempString::LoadDefault ( int /*Index*/, stdstr & /*Value*/ ) const
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempString::Save ( int Index, bool Value )
|
||||
void CSettingTypeTempString::Save ( int /*Index*/, bool /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempString::Save ( int Index, ULONG Value )
|
||||
void CSettingTypeTempString::Save ( int /*Index*/, ULONG /*Value*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
||||
void CSettingTypeTempString::Save ( int Index, const stdstr & Value )
|
||||
void CSettingTypeTempString::Save ( int /*Index*/, const stdstr & Value )
|
||||
{
|
||||
m_value = Value;
|
||||
}
|
||||
|
||||
void CSettingTypeTempString::Save ( int Index, const char * Value )
|
||||
void CSettingTypeTempString::Save ( int /*Index*/, const char * Value )
|
||||
{
|
||||
m_value = Value;
|
||||
}
|
||||
|
||||
void CSettingTypeTempString::Delete( int Index )
|
||||
void CSettingTypeTempString::Delete( int /*Index*/ )
|
||||
{
|
||||
Notify().BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue