idlehomescreen/xmluirendering/uiengine/src/xnrootdata.cpp
branchRCL_3
changeset 23 7be2816dbabd
parent 11 ff572dfe6d86
child 28 d721605b30d0
equal deleted inserted replaced
19:79311d856354 23:7be2816dbabd
    13 *
    13 *
    14 * Description:  Data class to hold application root configuration info
    14 * Description:  Data class to hold application root configuration info
    15 *
    15 *
    16 */
    16 */
    17 
    17 
       
    18 // System includes
       
    19 
       
    20 
    18 // User includes
    21 // User includes
       
    22 #include <xnuiengine.rsg>
    19 #include "xnviewmanager.h"
    23 #include "xnviewmanager.h"
    20 #include "xnviewdata.h"
    24 #include "xnviewdata.h"
    21 
    25 
    22 #include "xnappuiadapter.h"
    26 #include "xnappuiadapter.h"
    23 #include "xncontroladapter.h"
    27 #include "xncontroladapter.h"
   213             plugin = NULL;
   217             plugin = NULL;
   214             }        
   218             }        
   215         }
   219         }
   216     else if ( err == KErrNoMemory )
   220     else if ( err == KErrNoMemory )
   217         {
   221         {
   218         ShowOutOfMemError();
   222         TRAP_IGNORE( iManager.ShowErrorL( R_QTN_HS_HS_MEMORY_FULL ) );
   219         }
   223         }
   220 
   224 
   221     // Configuration loading failed totally
   225     // Configuration loading failed totally
   222     Panic( EXnInvalidConfiguration );
   226     Panic( EXnInvalidConfiguration );
   223     
   227     
   533         
   537         
   534         if ( !self->AllViewsLoaded() && toLoad )
   538         if ( !self->AllViewsLoaded() && toLoad )
   535             {                       
   539             {                       
   536             if ( toLoad->Load() == KErrNoMemory )
   540             if ( toLoad->Load() == KErrNoMemory )
   537                 {
   541                 {
   538                 self->ShowOutOfMemError();
   542                 TRAP_IGNORE( 
       
   543                     self->iManager.ShowErrorL( R_QTN_HS_HS_MEMORY_FULL ) );                
   539                 }
   544                 }
   540             }
   545             }
   541         
   546         
   542         if ( self->AllViewsLoaded() )
   547         if ( self->AllViewsLoaded() )
   543             {            
   548             {