iaupdate/IAD/firmwareupdate/src/iaupdatefwfotamodel.cpp
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
equal deleted inserted replaced
25:7333d7932ef7 26:8b7f4e561641
    55     iFotaEngine.Close();
    55     iFotaEngine.Close();
    56     }
    56     }
    57 
    57 
    58 
    58 
    59 // -----------------------------------------------------------------------------
    59 // -----------------------------------------------------------------------------
       
    60 // CIAUpdateFWFotaModel::GetProfileName
       
    61 // Changes aProfileName to KNullDesC if the profile identifier is
       
    62 // not found.
       
    63 // -----------------------------------------------------------------------------
       
    64 //
       
    65 void CIAUpdateFWFotaModel::GetProfileNameL( const TInt   aProfileId,
       
    66                                               HBufC* aProfileName ) const
       
    67     {
       
    68     FLOG( "[IAUPDATEFW] CIAUpdateFWFotaModel::GetProfileNameL() - not implemented" );
       
    69 
       
    70 /*KNST
       
    71     TInt index( 0 );
       
    72     aProfileName->Des().Copy( KNullDesC );
       
    73     
       
    74     iDocument->RefreshProfileListL( ETrue ); // Include hidden profile
       
    75     CArrayFixFlat<TNSmlDMProfileItem>* profileList = iDocument->ProfileList( index );
       
    76     
       
    77     for ( index = 0; index < profileList->Count(); index++ )
       
    78         {
       
    79         if ( ( *profileList )[index].iProfileId == aProfileId )
       
    80             {
       
    81             aProfileName->Des().Copy( ( *profileList )[index].iProfileName );
       
    82             }
       
    83         }
       
    84 */
       
    85     FTRACE( FPrint( _L(
       
    86         "[IAUPDATEFW] CIAUpdateFWFotaModel::GetProfileNameL(): aProfileId = %d, ProfileName = \"%S\"" ),
       
    87          aProfileId, aProfileName ) );
       
    88     }
       
    89 
       
    90 // -----------------------------------------------------------------------------
    60 // CIAUpdateFWFotaModel::DefaultFotaProfileIdL
    91 // CIAUpdateFWFotaModel::DefaultFotaProfileIdL
    61 // -----------------------------------------------------------------------------
    92 // -----------------------------------------------------------------------------
    62 //
    93 //
    63  TInt CIAUpdateFWFotaModel::DefaultFotaProfileIdL() const
    94  TInt CIAUpdateFWFotaModel::DefaultFotaProfileIdL() const
    64     {
    95     {