equal
deleted
inserted
replaced
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 |