Exemplo n.º 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();
}
Exemplo n.º 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();
}
Exemplo n.º 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);
}