diff -r 7333d7932ef7 -r 8b7f4e561641 iaupdate/IAD/firmwareupdate/src/iaupdatefwfotamodel.cpp --- a/iaupdate/IAD/firmwareupdate/src/iaupdatefwfotamodel.cpp Tue Aug 31 15:21:33 2010 +0300 +++ b/iaupdate/IAD/firmwareupdate/src/iaupdatefwfotamodel.cpp Wed Sep 01 12:22:02 2010 +0100 @@ -57,6 +57,37 @@ // ----------------------------------------------------------------------------- +// CIAUpdateFWFotaModel::GetProfileName +// Changes aProfileName to KNullDesC if the profile identifier is +// not found. +// ----------------------------------------------------------------------------- +// +void CIAUpdateFWFotaModel::GetProfileNameL( const TInt aProfileId, + HBufC* aProfileName ) const + { + FLOG( "[IAUPDATEFW] CIAUpdateFWFotaModel::GetProfileNameL() - not implemented" ); + +/*KNST + TInt index( 0 ); + aProfileName->Des().Copy( KNullDesC ); + + iDocument->RefreshProfileListL( ETrue ); // Include hidden profile + CArrayFixFlat* profileList = iDocument->ProfileList( index ); + + for ( index = 0; index < profileList->Count(); index++ ) + { + if ( ( *profileList )[index].iProfileId == aProfileId ) + { + aProfileName->Des().Copy( ( *profileList )[index].iProfileName ); + } + } +*/ + FTRACE( FPrint( _L( + "[IAUPDATEFW] CIAUpdateFWFotaModel::GetProfileNameL(): aProfileId = %d, ProfileName = \"%S\"" ), + aProfileId, aProfileName ) ); + } + +// ----------------------------------------------------------------------------- // CIAUpdateFWFotaModel::DefaultFotaProfileIdL // ----------------------------------------------------------------------------- //