messagingfw/senduiservices/src/SendUiImpl.cpp
branchRCL_3
changeset 10 30d6238592e8
parent 0 8e480a14352b
child 11 dd93350a5f29
equal deleted inserted replaced
6:fe71b07a6401 10:30d6238592e8
  1283 // -----------------------------------------------------------------------------
  1283 // -----------------------------------------------------------------------------
  1284 //
  1284 //
  1285 TBool CSendUiImpl::IsMailboxAvailableL(void)
  1285 TBool CSendUiImpl::IsMailboxAvailableL(void)
  1286 {
  1286 {
  1287     TBool mailbox = EFalse;
  1287     TBool mailbox = EFalse;
  1288     TBool retval = EFalse;
       
  1289     
  1288     
  1290     CMsvSession& msv = iSingleton->MsvSessionL();
  1289     CMsvSession& msv = iSingleton->MsvSessionL();
  1291     CMsvEntry* entry = msv.GetEntryL( KMsvRootIndexEntryId );
  1290     CMsvEntry* entry = msv.GetEntryL( KMsvRootIndexEntryId );
  1292     CleanupStack::PushL( entry );
  1291     CleanupStack::PushL( entry );
  1293     
  1292     
  1311              }
  1310              }
  1312          }
  1311          }
  1313      
  1312      
  1314          CleanupStack::PopAndDestroy( entry );
  1313          CleanupStack::PopAndDestroy( entry );
  1315 
  1314 
  1316          // if accounts defined, 
       
  1317          if ( mailbox )
       
  1318              {
       
  1319              retval =  mailbox;
       
  1320              }   
       
  1321          
       
  1322      return mailbox; 
  1315      return mailbox; 
  1323 }
  1316 }
  1324 
  1317 
  1325 // -----------------------------------------------------------------------------
  1318 // -----------------------------------------------------------------------------
  1326 // IsThirdPartyMailService
  1319 // IsThirdPartyMailService