phonebookui/Phonebook2/CommandsExtension/inc/CPbk2MergeContactsCmd.h
branchCompilerCompatibility
changeset 17 1a455957d2fe
parent 3 04ab22b956c2
child 15 e8e3147d53eb
equal deleted inserted replaced
16:db59511c6240 17:1a455957d2fe
    39 class MPbk2DialogEliminator;
    39 class MPbk2DialogEliminator;
    40 class CVPbkContactStoreUriArray;
    40 class CVPbkContactStoreUriArray;
    41 class CPbk2MergeResolver;
    41 class CPbk2MergeResolver;
    42 class CPbk2ApplicationServices;
    42 class CPbk2ApplicationServices;
    43 class CAknNavigationDecorator;
    43 class CAknNavigationDecorator;
    44 class CImageDecoder;
       
    45 class CFbsBitmap;
       
    46 class CVPbkContactLinkArray;
    44 class CVPbkContactLinkArray;
    47 class MVPbkStoreContactField;
    45 class MVPbkStoreContactField;
    48 
    46 
    49 // CLASS DECLARATION
    47 // CLASS DECLARATION
    50 /**
    48 /**
   162     void StartNext(TPhase aPhase);
   160     void StartNext(TPhase aPhase);
   163     void StartNext();
   161     void StartNext();
   164     void CleanAfterFetching();
   162     void CleanAfterFetching();
   165     TBool IsFromReadOnlyStore(
   163     TBool IsFromReadOnlyStore(
   166             const MVPbkContactLink& aContactLink ) const;
   164             const MVPbkContactLink& aContactLink ) const;
   167     void RetrieveContactL( const MVPbkContactLink& aContactLink );
   165     void RetrieveContact( const MVPbkContactLink& aContactLink );
   168     void NotifyObservers();
   166     void NotifyObservers();
   169     void SetTitlePaneL( TBool aCustom );
   167     void SetTitlePaneL( TBool aCustom );
   170     void CheckPhotoConflictL();
   168     void CheckPhotoConflictL();
   171     void ResolvePhotoConflictL();
   169     void ResolvePhotoConflictL();
   172     void ResolveAllPhotoConflicts( 
   170     void ResolveAllPhotoConflicts( 
   173             EPbk2ConflictedNumber aConflictResolutionNumber );
   171             EPbk2ConflictedNumber aConflictResolutionNumber );
   174     void InitBitmapL( CFbsBitmap*& aBitmap, TDesC8& aData );
       
   175     void AddFieldToMergedContactL( MVPbkStoreContactField& field );
   172     void AddFieldToMergedContactL( MVPbkStoreContactField& field );
   176     HBufC* ContactAsStringLC( MVPbkStoreContact* aStoreContact );
   173     HBufC* ContactAsStringL( MVPbkStoreContact* aStoreContact );
   177     void ShowContactsMergedNoteL();
   174     void ShowContactsMergedNoteL();
   178     void GetStoreContactsL();
   175     void GetStoreContacts();
   179     void ResolveConflictsL();
   176     void ResolveConflictsL();
   180     void FinalizeMergeL();
   177     void FinalizeMergeL();
   181     void DeleteSourceContactsL();
   178     void DeleteSourceContactsL();
   182     void DeleteMergedContact();
   179     void DeleteMergedContact();
   183     void DeleteMergedContactL();
   180     void DeleteMergedContactL();
   259     TPtrC8 iDataFirst;
   256     TPtrC8 iDataFirst;
   260     
   257     
   261     /// Own: Image field data  from second contact
   258     /// Own: Image field data  from second contact
   262     TPtrC8 iDataSecond;
   259     TPtrC8 iDataSecond;
   263     
   260     
   264     /// Own: Conflict image from first contact
       
   265     CFbsBitmap* iBitmapFirst;
       
   266     
       
   267     /// Own: Conflict image from second contact
       
   268     CFbsBitmap* iBitmapSecond;
       
   269     
       
   270     /// Own: Converts images of any type to bitmaps
       
   271     CImageDecoder* iImgDecoder;
       
   272     
       
   273     /// Own: Index of photo conflict 
   261     /// Own: Index of photo conflict 
   274     //      KErrNotFound if conflit does not exist
   262     //      KErrNotFound if conflit does not exist
   275     TInt iPhotoConflictIndex;
   263     TInt iPhotoConflictIndex;
   276     
   264     
   277     /// Own: Count of image type conflicts
   265     /// Own: Count of image type conflicts
   286     /// Own: Groups links array of second contact
   274     /// Own: Groups links array of second contact
   287     CVPbkContactLinkArray* iGroupLinksSecond;
   275     CVPbkContactLinkArray* iGroupLinksSecond;
   288     
   276     
   289     /// Own: Waiting note
   277     /// Own: Waiting note
   290     MPbk2ProcessDecorator* iWaitDecorator;
   278     MPbk2ProcessDecorator* iWaitDecorator;
       
   279     
       
   280 	/// Own: string for ending note
       
   281     HBufC* iFirstContactString;
       
   282 	
       
   283 	/// Own: string for ending note
       
   284     HBufC* iSecondContactString;
       
   285 	
       
   286 	/// Own: string for ending note
       
   287     HBufC* iMergedContactString;
       
   288     
   291     };
   289     };
   292 
   290 
   293 #endif // CPBK2MERGECONTACTSCMD_H
   291 #endif // CPBK2MERGECONTACTSCMD_H
   294 // End of File
   292 // End of File