serviceproviders/sapi_contacts_vpbk/inc/contactcallback.h
changeset 5 989d2f495d90
child 10 fc9cf246af83
equal deleted inserted replaced
1:a36b1e19a461 5:989d2f495d90
       
     1 /*
       
     2 * Copyright (c) 2006-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 the License "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:  Provides the callback interface
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef M_CCONTACTCALLBACK_H
       
    19 #define M_CCONTACTCALLBACK_H
       
    20 
       
    21 #include "contactservice.hrh"
       
    22 
       
    23 // FORWARD DECLARATIONS
       
    24 class CContactIter;
       
    25 
       
    26 /**
       
    27  * MCameraCallback - callback back interface class
       
    28  * @since S60 5.0
       
    29  */
       
    30 class MContactCallback
       
    31     {
       
    32     public:
       
    33         
       
    34 
       
    35         /**
       
    36          * Called when the any async. operation completes
       
    37          * @return void
       
    38          */
       
    39          virtual void HandleReturnValue(  TOperationEvent aEventId, const TInt& aError, TInt aTransId ) = 0;
       
    40         /*
       
    41          *Called after GetList async call is complete
       
    42          */
       
    43         virtual void HandleReturnIter(const TInt& aError, CContactIter* aIter, TInt aTransId ) = 0;
       
    44                 
       
    45      };
       
    46 #endif // M_CONTACTCALLBACK_H