phonebookui/Phonebook2/ccapplication/ccamycardplugin/src/ccappmycardplugin.cpp
branchRCL_3
changeset 35 4ae315f230bc
parent 21 b3431bff8c19
child 64 c1e8ba0c2b16
equal deleted inserted replaced
32:2828b4d142c0 35:4ae315f230bc
   216 
   216 
   217     // Forward the activation-call to base-class
   217     // Forward the activation-call to base-class
   218     CCCAppViewPluginAknView::DoActivateL(
   218     CCCAppViewPluginAknView::DoActivateL(
   219         aPrevViewId, aCustomMessageId, aCustomMessage );
   219         aPrevViewId, aCustomMessageId, aCustomMessage );
   220     
   220     
       
   221     iMyCard->FetchMyCardL(); 
       
   222     
   221     // Set view title
   223     // Set view title
   222     HBufC* title = iCoeEnv->AllocReadResourceLC( R_QTN_CCA_TITLE_MY_CARD );
   224     HBufC* title = iCoeEnv->AllocReadResourceLC( R_QTN_CCA_TITLE_MY_CARD );
   223     SetTitleL( *title );
   225     SetTitleL( *title );
   224     CleanupStack::PopAndDestroy( title );
   226     CleanupStack::PopAndDestroy( title );
   225     
   227 
   226     iMyCard->FetchMyCardL();
       
   227     
       
   228     CCA_DP(KMyCardLogFile, CCA_L("<-CCCAppMyCardPlugin::DoActivateL()"));
   228     CCA_DP(KMyCardLogFile, CCA_L("<-CCCAppMyCardPlugin::DoActivateL()"));
   229     }
   229     }
   230 
   230 
   231 // ---------------------------------------------------------------------------
   231 // ---------------------------------------------------------------------------
   232 // CCCAppMyCardPlugin::DoDeactivate
   232 // CCCAppMyCardPlugin::DoDeactivate
   544 void CCCAppMyCardPlugin::CopyDetailL()
   544 void CCCAppMyCardPlugin::CopyDetailL()
   545     {
   545     {
   546     CommandHandlerL()->HandleCommandL( EPbk2CmdCopyDetail, *iOwnContainer, NULL );
   546     CommandHandlerL()->HandleCommandL( EPbk2CmdCopyDetail, *iOwnContainer, NULL );
   547     }
   547     }
   548 
   548 
       
   549 void CCCAppMyCardPlugin::EnableOptionsMenu( TBool aEnable )
       
   550     {
       
   551     Cba()->MakeCommandVisibleByPosition( 
       
   552            CEikButtonGroupContainer::ELeftSoftkeyPosition, aEnable );
       
   553     }
   549 // End of File
   554 // End of File