messagingappbase/mce/src/mceui.cpp
changeset 10 da93fe14e0e3
parent 2 0bf1d54f37d9
child 9 1d7827e39b52
equal deleted inserted replaced
4:e9eae96aa117 10:da93fe14e0e3
   425     iFolderIndicator = tmp;
   425     iFolderIndicator = tmp;
   426 
   426 
   427     iMailAccountItemArray = new(ELeave) CMceMailAccountItemArray(
   427     iMailAccountItemArray = new(ELeave) CMceMailAccountItemArray(
   428         KMceArrayGranularity );
   428         KMceArrayGranularity );
   429 
   429 
   430     iMceIAUpdate = CMceIAUpdateUtils::NewL();
   430     iMceIAUpdate = CMceIAUpdateUtils::NewL(*this);
   431 
   431 
   432     if ( iAlwaysOnline )
   432     if ( iAlwaysOnline )
   433         {
   433         {
   434         iConnectionMonitor.ConnectL();
   434         iConnectionMonitor.ConnectL();
   435         iConnectionMonitor.NotifyEventL( *this );
   435         iConnectionMonitor.NotifyEventL( *this );
  4110                     aMenuPane.AddMenuItemL( data, EMceCmdUndelete );
  4110                     aMenuPane.AddMenuItemL( data, EMceCmdUndelete );
  4111                     }
  4111                     }
  4112 
  4112 
  4113                 else if ( functionInfo.iFuncId == KMtmUiFunctionFetchMMS ) //MMS notification
  4113                 else if ( functionInfo.iFuncId == KMtmUiFunctionFetchMMS ) //MMS notification
  4114                     {
  4114                     {
       
  4115                     data.iFlags |= EEikMenuItemSpecific; 
  4115                     aMenuPane.AddMenuItemL( data, EAknCmdOpen );
  4116                     aMenuPane.AddMenuItemL( data, EAknCmdOpen );
  4116                     }
  4117                     }
  4117 
  4118 
  4118                 else if ( functionInfo.iFuncId == KMtmUiFunctionFetchSyncML ) //SyncML Retrieve
  4119                 else if ( functionInfo.iFuncId == KMtmUiFunctionFetchSyncML ) //SyncML Retrieve
  4119                     {
  4120                     {