ccservices/cmsservices/cmsengine/Client/src/cmscontact.cpp
branchRCL_3
changeset 39 a6539d1e8e43
parent 14 81f8547efd4f
child 64 c1e8ba0c2b16
equal deleted inserted replaced
35:4ae315f230bc 39:a6539d1e8e43
   130 EXPORT_C TInt RCmsContact::IsServiceAvailable( VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector aServiceType ) const
   130 EXPORT_C TInt RCmsContact::IsServiceAvailable( VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector aServiceType ) const
   131     {
   131     {
   132     #ifdef _DEBUG
   132     #ifdef _DEBUG
   133         RCmsSession::WriteToLog( _L8( "RCmsContact::IsServiceAvailable() - Field: %d" ), aServiceType );
   133         RCmsSession::WriteToLog( _L8( "RCmsContact::IsServiceAvailable() - Field: %d" ), aServiceType );
   134     #endif
   134     #endif
       
   135     if( VPbkFieldTypeSelectorFactory::EEmailEditorSelector == aServiceType )
       
   136         {
       
   137         // Resolving email accounts is too slow -> 
       
   138         // CCA show email item if email field is defined in contact
       
   139         return ETrue;
       
   140         }
   135     return SendReceive( ECmsFetchServiceAvailability, TIpcArgs( aServiceType ) );
   141     return SendReceive( ECmsFetchServiceAvailability, TIpcArgs( aServiceType ) );
   136     }
   142     }
   137 
   143 
   138 // ----------------------------------------------------
   144 // ----------------------------------------------------
   139 // RCmsContact::ContactStore
   145 // RCmsContact::ContactStore