emailcontacts/remotecontactlookup/engine/inc/mpbkxrclcontactretrieval.h
branchRCL_3
changeset 12 4ce476e64c59
parent 11 0396474f30f5
child 13 8592a65ad3fb
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
     1 /*
       
     2 * Copyright (c) 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:  Definition of the class MPbkxRclContactRetrieval.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPBKXRCLCONTACTRETRIEVAL_H
       
    20 #define MPBKXRCLCONTACTRETRIEVAL_H
       
    21 
       
    22 /**
       
    23 * Class through which contact details can be updated.
       
    24 */
       
    25 class MPbkxRclContactRetrieval
       
    26     {
       
    27 public: // pure virtual methods
       
    28 
       
    29     /**
       
    30     * Retrieves details of the contact with given index.
       
    31     *
       
    32     * @param aContactIndex Index of the contact for which details are retrieved.
       
    33     * @param aWaitNoteText Text shown in wait note.
       
    34     * @return ContactCard with details retrieved or NULL, if something went wrong.
       
    35     */
       
    36     virtual CContactCard* RetrieveDetailsL( 
       
    37         TInt aContactIndex,
       
    38         const TDesC& aWaitNoteText ) = 0;
       
    39 
       
    40     /**
       
    41     * Returns the number of contacts.
       
    42     *
       
    43     * @return The number of contacts.
       
    44     */
       
    45     virtual TInt ContactCount() const = 0;
       
    46     
       
    47     /**
       
    48     * Sets the index of currently selected contact.
       
    49     *
       
    50     * @param aIndex Index of the currently selected contact.
       
    51     */
       
    52     virtual void SetSelectedContactL( TInt aIndex ) = 0;
       
    53 
       
    54     };
       
    55 
       
    56 #endif