phonebookui/Phonebook2/inc/MPbk2MergeResolver.h
branchRCL_3
changeset 20 f4a778e096c2
parent 0 e686773b3f54
equal deleted inserted replaced
19:5b6f26637ad3 20:f4a778e096c2
       
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:  Phonebook 2 merge contacts resolver interface.
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef MPBK2MERGERESOLVER_H_
       
    19 #define MPBK2MERGERESOLVER_H_
       
    20 
       
    21 
       
    22 // FORWARD DECLARATIONS
       
    23 class MPbk2MergeConflict;
       
    24 
       
    25 
       
    26 // CLASS DECLARATION
       
    27 /**
       
    28  * Phonebook 2 merge contacts resolver interface.
       
    29  */
       
    30 class MPbk2MergeResolver
       
    31     {
       
    32 
       
    33     
       
    34 public:
       
    35    
       
    36     /**
       
    37      * Counts conflicts.
       
    38      *
       
    39      * @return  Number of conflicts.
       
    40      */
       
    41     virtual TInt CountConflicts() = 0;
       
    42     
       
    43     /**
       
    44      * Gets conflict.
       
    45      *
       
    46      * @param aConflict    Index of conflict in array.
       
    47      * @return  Base class of conflict.
       
    48      */
       
    49     virtual MPbk2MergeConflict& GetConflictAt( TInt aConflict ) = 0;
       
    50         
       
    51     };
       
    52 
       
    53 #endif /* MPBK2MERGERESOLVER_H_ */