emailcontacts/contactactionservice/src/cfscactionutils.cpp
branchRCL_3
changeset 12 f5907b1a1053
parent 4 e7aa27f58ae1
equal deleted inserted replaced
8:e1b6206813b4 12:f5907b1a1053
    30 #include <apgcli.h>
    30 #include <apgcli.h>
    31 #include <centralrepository.h>
    31 #include <centralrepository.h>
    32 #include <CoreApplicationUIsSDKCRKeys.h> 
    32 #include <CoreApplicationUIsSDKCRKeys.h> 
    33 #include <settingsinternalcrkeys.h>
    33 #include <settingsinternalcrkeys.h>
    34 //<cmail> Header neither in Cmail nor in the platform
    34 //<cmail> Header neither in Cmail nor in the platform
    35 //#include <crcseprofileregistry.h>
    35 #include <crcseprofileregistry.h>
    36 //</cmail>
    36 //</cmail>
    37 #include <NetworkHandlingDomainPSKeys.h>
    37 #include <NetworkHandlingDomainPSKeys.h>
    38 #include <MVPbkStoreContact.h>
    38 #include <MVPbkStoreContact.h>
    39 #include <MVPbkStoreContactFieldCollection.h>
    39 #include <MVPbkStoreContactFieldCollection.h>
    40 #include <MVPbkStoreContactField.h>
    40 #include <MVPbkStoreContactField.h>
   134     FUNC_LOG;
   134     FUNC_LOG;
   135     delete iRep;
   135     delete iRep;
   136     if ( iRCSEProfileRegistry != NULL )
   136     if ( iRCSEProfileRegistry != NULL )
   137         {
   137         {
   138         //<cmail>
   138         //<cmail>
   139         //delete iRCSEProfileRegistry;
   139         delete iRCSEProfileRegistry;
   140         //</cmail>
   140         //</cmail>
   141         }
   141         }
   142     }
   142     }
   143 
   143 
   144 // ---------------------------------------------------------------------------
   144 // ---------------------------------------------------------------------------
  1153     if ( iRCSEProfileRegistry != NULL )
  1153     if ( iRCSEProfileRegistry != NULL )
  1154         {
  1154         {
  1155         RArray<TUint32> ids;
  1155         RArray<TUint32> ids;
  1156         CleanupClosePushL( ids );
  1156         CleanupClosePushL( ids );
  1157         //<cmail>
  1157         //<cmail>
  1158         //iRCSEProfileRegistry->GetAllIdsL( ids );
  1158         iRCSEProfileRegistry->GetAllIdsL( ids );
  1159         //</cmail>
  1159         //</cmail>
  1160         configured = ids.Count() > 0;
  1160         configured = ids.Count() > 0;
  1161         CleanupStack::PopAndDestroy( &ids );
  1161         CleanupStack::PopAndDestroy( &ids );
  1162         }
  1162         }
  1163 
  1163 
  1250     TRAP_IGNORE( iRep = CRepository::NewL( KCRUidFsContactActionService ) );
  1250     TRAP_IGNORE( iRep = CRepository::NewL( KCRUidFsContactActionService ) );
  1251 
  1251 
  1252     if ( FeatureManager::FeatureSupported( KFeatureIdCommonVoip ) )
  1252     if ( FeatureManager::FeatureSupported( KFeatureIdCommonVoip ) )
  1253         {
  1253         {
  1254         //<cmail>
  1254         //<cmail>
  1255         //TRAP_IGNORE( iRCSEProfileRegistry = CRCSEProfileRegistry::NewL() );
  1255         TRAP_IGNORE( iRCSEProfileRegistry = CRCSEProfileRegistry::NewL() );
  1256         //</cmail>
  1256         //</cmail>
  1257         }
  1257         }
  1258     
  1258     
  1259     //<cmail>
  1259     //<cmail>
  1260     iRCSEProfileRegistry = NULL;
  1260     //iRCSEProfileRegistry = NULL;
  1261     //</cmail>
  1261     //</cmail>
  1262 
  1262 
  1263     }
  1263     }
  1264 
  1264 
  1265 // ---------------------------------------------------------------------------
  1265 // ---------------------------------------------------------------------------