emailcontacts/remotecontactlookup/engine/inc/mpbkxremotecontactlookupprotocolsessionobserver.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 MPbkxRemoteContactLookupProtocolSessionObserver.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MPBKXREMOTECONTACTLOOKUPPROTOCOLSESSIONOBSERVER_H
       
    21 #define MPBKXREMOTECONTACTLOOKUPPROTOCOLSESSIONOBSERVER_H
       
    22 
       
    23 #include "cpbkxremotecontactlookupprotocolresult.h"
       
    24 
       
    25 /**
       
    26  *  Observer for the protocol adapter execution.
       
    27  *
       
    28  *  @since S60 3.1
       
    29  */
       
    30 class MPbkxRemoteContactLookupProtocolSessionObserver 
       
    31     {
       
    32 
       
    33 public:
       
    34 
       
    35     /**
       
    36      * Notifies that the loose search has been completed.
       
    37      * 
       
    38      * @param aStatus error code that tells how search went
       
    39      * @param aResults search results, ownership is moved to the caller of the
       
    40      * loose search.
       
    41      */
       
    42     virtual void LooseSearchCompleted( 
       
    43         TInt aStatus, 
       
    44         RPointerArray<CPbkxRemoteContactLookupProtocolResult>& aResults ) = 0;
       
    45     
       
    46     /**
       
    47      * Notifies that the contact fields retrieval has been completed.
       
    48      * 
       
    49      * @param aStatus error code that tells how retrieval went
       
    50      */
       
    51     virtual void ContactFieldsRetrievalCompleted( TInt aStatus ) = 0;
       
    52     };
       
    53 
       
    54 #endif // MPBKXREMOTECONTACTLOOKUPPROTOCOLSESSIONOBSERVER_H