psln/pslnengine/src/PslnModel.cpp
branchRCL_3
changeset 12 941195f2d488
parent 9 0aa5fbdfbc30
child 18 fcdfafb36fe7
equal deleted inserted replaced
10:3d340a0166ff 12:941195f2d488
   422         R_SCREEN_SAVER_SETTING_PAGE_LBX );
   422         R_SCREEN_SAVER_SETTING_PAGE_LBX );
   423 
   423 
   424     // Add descriptors for system screensavers
   424     // Add descriptors for system screensavers
   425     iScreensaverFilenameArr =
   425     iScreensaverFilenameArr =
   426         new (ELeave) CDesC16ArrayFlat( KPslnSsArrayGranularity );
   426         new (ELeave) CDesC16ArrayFlat( KPslnSsArrayGranularity );
   427     iScreensaverFilenameArr->AppendL( KPslnScreenSaverTypeDateTime );
       
   428     iScreensaverFilenameArr->AppendL( KPslnScreenSaverTypeText );
       
   429 
       
   430     // System screensavers have no capabilities
       
   431     User::LeaveIfError( iScreensaverCapsArr.Append( EFalse ) );
       
   432     User::LeaveIfError( iScreensaverCapsArr.Append( EScpCapsConfigure ) );
       
   433 
   427 
   434     if ( IsSupportScreenSaverNoneOption() )
   428     if ( IsSupportScreenSaverNoneOption() )
   435         {
   429         {
   436         iScreensaverFilenameArr->InsertL(0, KPslnScreenSaverTypeNone ); 
   430         iScreensaverFilenameArr->InsertL(0, KPslnScreenSaverTypeNone ); 
   437         User::LeaveIfError( iScreensaverCapsArr.Insert( 0, EFalse ) );
   431         User::LeaveIfError( iScreensaverCapsArr.Insert( 0, EFalse ) );