equal
deleted
inserted
replaced
40 #include <MVPbkContactStoreProperties.h> |
40 #include <MVPbkContactStoreProperties.h> |
41 #include <MVPbkContactFieldTextData.h> |
41 #include <MVPbkContactFieldTextData.h> |
42 #include <CVPbkFieldTypeRefsList.h> |
42 #include <CVPbkFieldTypeRefsList.h> |
43 #include <CVPbkContactFieldIterator.h> |
43 #include <CVPbkContactFieldIterator.h> |
44 #include <CVPbkFieldTypeRefsList.h> |
44 #include <CVPbkFieldTypeRefsList.h> |
45 #include <vpbkeng.rsg> |
45 #include <VPbkEng.rsg> |
46 |
46 |
47 // System includes |
47 // System includes |
48 #include <gsmerror.h> |
48 #include <gsmerror.h> |
49 #include <exterror.h> |
49 #include <exterror.h> |
50 #include <barsread.h> |
50 #include <barsread.h> |
251 // CPsu2SimContactProcessor::ConstructL |
251 // CPsu2SimContactProcessor::ConstructL |
252 // -------------------------------------------------------------------------- |
252 // -------------------------------------------------------------------------- |
253 // |
253 // |
254 void CPsu2SimContactProcessor::ConstructL( RFs& aFs ) |
254 void CPsu2SimContactProcessor::ConstructL( RFs& aFs ) |
255 { |
255 { |
256 const MVPbkFieldTypeList& supportedTypes = |
|
257 iTargetStore.StoreProperties().SupportedFields(); |
|
258 // Remove the unsupported fieldInfo from array first. |
|
259 iCopyToSimFieldInfoArray.RemoveUnSupportedFieldInfo( supportedTypes ); |
|
260 |
|
261 const TInt count = iCopyToSimFieldInfoArray.Count(); |
256 const TInt count = iCopyToSimFieldInfoArray.Count(); |
262 for ( TInt i = 0; i < count; ++i ) |
257 for ( TInt i = 0; i < count; ++i ) |
263 { |
258 { |
264 iIncludedTypes.AppendL( |
259 iIncludedTypes.AppendL( |
265 &iCopyToSimFieldInfoArray[i].SourceType() ); |
260 &iCopyToSimFieldInfoArray[i].SourceType() ); |