phonebookui/Phonebook2/CommandsExtension/inc/TPbk2CopyContactsUtil.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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 copy contacts result diplay utility.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef TPBK2COPYCONTACTSUTIL_H
       
    20 #define TPBK2COPYCONTACTSUTIL_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32std.h>
       
    24 
       
    25 // FORWARD DECLARATION
       
    26 class MPbk2ContactUiControl;
       
    27 class CVPbkContactStoreUriArray;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32  * Phonebook 2 copy contacts result diplay utility.
       
    33  */
       
    34 class TPbk2CopyContactsUtil
       
    35     {
       
    36     public: // Interface
       
    37 
       
    38         /**
       
    39          * Analyzes UI control selection and return the possible
       
    40          * target store URIs.
       
    41          *
       
    42          * @param aControl          UI control.
       
    43          * @param aDiscardedUris    URIs to discard, for example the URIs
       
    44          *                          of stores that failed to open. Can be
       
    45          *                          NULL.
       
    46          * @return  Array of target stores.
       
    47          */
       
    48         static CVPbkContactStoreUriArray* CopyContactTargetStoresLC(
       
    49                 MPbk2ContactUiControl& aControl,
       
    50                 CVPbkContactStoreUriArray* aDiscardedUris );
       
    51     };
       
    52 
       
    53 #endif // TPBK2COPYCONTACTSUTIL_H
       
    54 
       
    55 // End of File