35 m_BitmapFileName(), m_ConvertedFileName(), m_Units(), m_Threshold(), m_Negative(),
36 m_LastFormat(), m_LastModLayer()
61 ret &= fromLegacy<int>( aCfg,
"Last_format",
"last_format" );
62 ret &= fromLegacy<int>( aCfg,
"Last_modlayer",
"last_mod_layer" );
63 ret &= fromLegacy<int>( aCfg,
"Threshold",
"threshold" );
64 ret &= fromLegacy<bool>( aCfg,
"Negative_choice",
"negative" );
65 ret &= fromLegacy<int>( aCfg,
"Unit_selection",
"units" );
const int bitmap2cmpSchemaVersion
! Update the schema version whenever a migration is required
APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
virtual bool MigrateFromLegacy(wxConfigBase *aCfg) override
Migrates from wxConfig to JSON-based configuration.
wxString m_BitmapFileName
wxString m_ConvertedFileName
virtual bool MigrateFromLegacy(wxConfigBase *aLegacyConfig) override
Migrates from wxConfig to JSON-based configuration.
bool fromLegacyString(wxConfigBase *aConfig, const std::string &aKey, const std::string &aDest)
Translates a legacy wxConfig string value to a given JSON pointer value.
std::vector< PARAM_BASE * > m_params
The list of parameters (owned by this object)