// --------------------------------------------------------------------------- // Get an array of video quality levels that are in use with the current // product with given Camera/Display ID. If the ID is zero, then all levels // dispite of the ID value are returned. // --------------------------------------------------------------------------- // TInt CImagingConfigManager::GetVideoQualityLevelsL( CArrayFixFlat<TUint>& aLevels, TUint /*aCameraDisplayID*/ ) { aLevels.Reset(); aLevels.SetReserveL( iVideoQualitySets->Count() ); for( TInt i = 0 ; i < NumberOfVideoQualityLevels() ; i++ ) { aLevels.AppendL( iVideoQualitySets->At( i ).iVideoQualitySetLevel); } return KErrNone; }