messagingappbase/mcesettings/src/MceSettingsGeneralSettingsDialog.cpp
branchRCL_3
changeset 17 caea42e26caa
parent 4 e9eae96aa117
equal deleted inserted replaced
9:1d7827e39b52 17:caea42e26caa
   159     TFileName fileName = fp.FullName();
   159     TFileName fileName = fp.FullName();
   160 
   160 
   161     iResources.OpenL( fileName );
   161     iResources.OpenL( fileName );
   162 #endif
   162 #endif
   163     CMceSettingsTitlePaneHandlerDialog::ConstructL( aResource );
   163     CMceSettingsTitlePaneHandlerDialog::ConstructL( aResource );
   164 	iIsThirdPartyMail = IsThirdPartyMailBox();
   164 	iIsThirdPartyMail = IsThirdPartyMailBoxL();
   165     }
   165     }
   166 
   166 
   167 // ----------------------------------------------------
   167 // ----------------------------------------------------
   168 // CMceGeneralSettingsDialog::Destructor
   168 // CMceGeneralSettingsDialog::Destructor
   169 // ----------------------------------------------------
   169 // ----------------------------------------------------
  1085 // ---------------------------------------------------------
  1085 // ---------------------------------------------------------
  1086 // CMceGeneralSettingsDialog::IsThirdPartyMailBox()
  1086 // CMceGeneralSettingsDialog::IsThirdPartyMailBox()
  1087 // 
  1087 // 
  1088 // ---------------------------------------------------------
  1088 // ---------------------------------------------------------
  1089 //
  1089 //
  1090 TBool CMceGeneralSettingsDialog::IsThirdPartyMailBox()
  1090 TBool CMceGeneralSettingsDialog::IsThirdPartyMailBoxL()
  1091     {
  1091     {
  1092     CMsvEntry* entry = iSession->GetEntryL( KMsvRootIndexEntryId );
  1092     CMsvEntry* entry = iSession->GetEntryL( KMsvRootIndexEntryId );
  1093     CleanupStack::PushL( entry );
  1093     CleanupStack::PushL( entry );
  1094     TInt cnt = entry->Count();
  1094     TInt cnt = entry->Count();
  1095     TBool isThirdPartyMail = EFalse;
  1095     TBool isThirdPartyMail = EFalse;