phoneengine/PhoneCntFinder/ContactService/inc/mphcntvoipcontactfinder.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:  Interface for finding voip contacts.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPHCNTVOIPCONTACTFINDER_H
       
    20 #define MPHCNTVOIPCONTACTFINDER_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 class MVPbkContactOperationBase;
       
    25 class MVPbkContactFindObserver;
       
    26 
       
    27 /**
       
    28  *  Interface for finding voip contacts.
       
    29  *
       
    30  *  @lib PhoneCntFinder
       
    31  *  @since S60 v3.1
       
    32  */
       
    33 class MPhCntVoipContactFinder
       
    34     {
       
    35 public:
       
    36 
       
    37     /**
       
    38      * Finds voip contacts, with given URI or partial URI. To cancel
       
    39      * the find, destroy the returned operation.
       
    40      * @since S60 v3.1
       
    41      * @param aSipURI Sip uri defining wanted matches.
       
    42      * @param aObserver Observer of the operation.
       
    43      * @return Operation.
       
    44      */
       
    45     virtual MVPbkContactOperationBase* FindVoipContactsL( 
       
    46         const TDesC& aSipURI,
       
    47         MVPbkContactFindObserver& aObserver ) const = 0;
       
    48 
       
    49 protected:
       
    50 
       
    51     virtual ~MPhCntVoipContactFinder() {};
       
    52     
       
    53     };
       
    54 
       
    55 
       
    56 #endif // MPHCNTVOIPCONTACTFINDER_H