messagingappbase/mce/src/MceMainViewListView.cpp
changeset 1 d09ac5c1e252
parent 0 72b543305e3a
child 2 0bf1d54f37d9
equal deleted inserted replaced
0:72b543305e3a 1:d09ac5c1e252
   186         }
   186         }
   187     FeatureManager::UnInitializeLib();
   187     FeatureManager::UnInitializeLib();
   188 
   188 
   189     BaseConstructL( R_MCE_MAIN_VIEW );
   189     BaseConstructL( R_MCE_MAIN_VIEW );
   190 //    CMceMainViewListView::ConstructL( EMceListTypeMainView );
   190 //    CMceMainViewListView::ConstructL( EMceListTypeMainView );
       
   191     iMsgListContainer = CMceMainViewListContainer::NewL(
       
   192         ClientRect(),
       
   193         KMsvRootIndexEntryIdValue,
       
   194         EMceListTypeMainView );
       
   195     iMsgListContainer->SetMopParent( this );
   191     }
   196     }
   192 
   197 
   193 // ----------------------------------------------------
   198 // ----------------------------------------------------
   194 // CMceMainViewListView::Id
   199 // CMceMainViewListView::Id
   195 // ----------------------------------------------------
   200 // ----------------------------------------------------
   316 // CMceMainViewListView::CreateContainerAndActivateL
   321 // CMceMainViewListView::CreateContainerAndActivateL
   317 // ----------------------------------------------------
   322 // ----------------------------------------------------
   318 void CMceMainViewListView::CreateContainerAndActivateL()
   323 void CMceMainViewListView::CreateContainerAndActivateL()
   319     {
   324     {
   320     MCELOGGER_ENTERFN("CreateContainerAndActivateL()");
   325     MCELOGGER_ENTERFN("CreateContainerAndActivateL()");
   321     if ( !iMsgListContainer )
   326     if ( iMsgListContainer )
   322         {
   327         {
   323         iMsgListContainer = CMceMainViewListContainer::NewL(
   328         iMsgListContainer->CreateListItemsL( iSession, iBitmapResolver );
   324             ClientRect(),
       
   325             iSession,
       
   326             iBitmapResolver,
       
   327             KMsvRootIndexEntryIdValue,
       
   328             EMceListTypeMainView );
       
   329         iMsgListContainer->SetMopParent( this );
       
   330         iMsgListContainer->ListItems()->SetListItemArrayObserver( this );
   329         iMsgListContainer->ListItems()->SetListItemArrayObserver( this );
   331         ResetBitmapsL();
   330         ResetBitmapsL();
   332         iMsgListContainer->SetMskL();
   331         iMsgListContainer->SetMskL();
   333         }
   332         }
   334 
   333