phoneengine/PhoneCntFinder/ContactService/inc/mphcntcontactmatchstrategy.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:  Contact match strategy interface.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPHCNTCONTACTMATCHSTRATEGY_H
       
    20 #define MPHCNTCONTACTMATCHSTRATEGY_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 /**
       
    25  * Interface for finding contacts.
       
    26  *
       
    27  *  @lib PhoneCntFinder.lib
       
    28  *  @since S60 v3.1
       
    29  */
       
    30 NONSHARABLE_CLASS( MPhCntContactMatchStrategy ) 
       
    31     {
       
    32 
       
    33 public:
       
    34 
       
    35     virtual ~MPhCntContactMatchStrategy() {};
       
    36 
       
    37     /**
       
    38      * Starts finding contacts, which contact field matches with aMatchString.
       
    39      *
       
    40      * @since S60 v3.1
       
    41      * @param aMatchString String which is matched against contact fields.
       
    42      */
       
    43     virtual void FindMatchesL( const TDesC& aMatchString ) = 0;
       
    44 
       
    45     };
       
    46 
       
    47 #endif // MPHCNTCONTACTMATCHSTRATEGY_H