iaupdate/IAD/firmwareupdate/src/iaupdatefwfotamodel.cpp
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
--- 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<TNSmlDMProfileItem>* 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
 // -----------------------------------------------------------------------------
 //