예제 #1
0
// ---------------------------------------------------------------------------
// 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();
}
예제 #2
0
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();
}
예제 #3
0
CSettings::CSettings() : m_iAddedSettings(0)
{
	memset(m_pSettings, 0, sizeof(CSettingBase*) * MAX_SETTINGS);
	SetupSettings();
	TRACE(_T("Settings: Added %i settings\n"), m_iAddedSettings);
}