PECengine/JanitorPlugin2/Src/MPEngContactMapper.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2005 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:  this class is a contact mapper abstract interface
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __MPENGCONTACTMAPPER_H__
       
    19 #define __MPENGCONTACTMAPPER_H__
       
    20 
       
    21 //  INCLUDES
       
    22 #include <e32std.h>
       
    23 #include <badesca.h>
       
    24 
       
    25 
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class CContactIdArray;
       
    29 
       
    30 
       
    31 //  CLASS DEFINITION
       
    32 /**
       
    33  * Contact mapper abstract interface
       
    34  *
       
    35  *  @since 3.0
       
    36  */
       
    37 class MPEngContactMapper
       
    38     {
       
    39     public: //Attribute Data
       
    40 
       
    41         /**
       
    42          *  Map wv id to the contact db id
       
    43          *
       
    44          *  @since 3.0
       
    45          *  @param aWvId wv id to map
       
    46          *  @return array of mapped contact ids
       
    47          */
       
    48         virtual CContactIdArray* MapWvIdToContactIdLC(
       
    49             const TDesC& aWVId ) = 0;
       
    50 
       
    51     protected: // destructor
       
    52 
       
    53         /**
       
    54          *  Protected Inline virtual destructor. Concrete class cannot
       
    55          *  be deleted trough this interface.
       
    56          */
       
    57         virtual ~MPEngContactMapper() {};
       
    58 
       
    59     };
       
    60 
       
    61 #endif      //  __MPENGCONTACTMAPPER_H__
       
    62 //  End of File
       
    63