phoneengine/PhoneCntFinder/ContactService/inc/MPhCntService.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Inteface for fetching contact links from AIW.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPHCNTSERVICE_H
       
    20 #define MPHCNTSERVICE_H
       
    21 
       
    22 class MPhCntServiceRequestParam;
       
    23 class MPhCntServiceResult;
       
    24 
       
    25 /**
       
    26  * AIW service wrapper interface.
       
    27  *
       
    28  * @lib PhoneCntFinder.lib
       
    29  * @since S60 v3.1
       
    30  */
       
    31 NONSHARABLE_CLASS( MPhCntService )
       
    32     {
       
    33 public:
       
    34 
       
    35     /**
       
    36      * Destructor.
       
    37      *
       
    38      * @since S60 v3.1
       
    39      */
       
    40     virtual ~MPhCntService() {};
       
    41          
       
    42     /**
       
    43      * Makes AIW service request, synchronous
       
    44      *
       
    45      * @since S60 v3.1
       
    46      * @param aService Parameters used with AIW.
       
    47      * @param aResult Result of the request.
       
    48      * @leaves KErrCancel - User or client canceled the request.
       
    49      *         Other system wide error codes possible.
       
    50      */
       
    51     virtual void ExecuteRequestL( 
       
    52         MPhCntServiceRequestParam& aServiceRequestParams, 
       
    53         MPhCntServiceResult& aResult ) = 0;
       
    54     
       
    55     };
       
    56 
       
    57 #endif // MPHCNTSERVICE_H