// --------------------------------------------------------------------------- // CAOSettings::RunL // --------------------------------------------------------------------------- // void CAOSettings::RunL() { LOG_2( _L("CAOSettings::RunL: iStatus: %d"), iStatus.Int() ); // Currently we cannot complete with an error SetupSettings( iSettingsToFetch ); iObserver.HandleSettingsChangedL(); }
void PPDConfigView::Set(const char* file, const BMessage& currentSettings) { delete fPPD; PPDParser parser(file); fPPD = parser.ParseAll(); if (fPPD == NULL) { fprintf(stderr, "Parsing error (%s): %s\n", file, parser.GetErrorMessage()); } SetupSettings(currentSettings); FillCategories(); }
CSettings::CSettings() : m_iAddedSettings(0) { memset(m_pSettings, 0, sizeof(CSettingBase*) * MAX_SETTINGS); SetupSettings(); TRACE(_T("Settings: Added %i settings\n"), m_iAddedSettings); }