phonebookui/Phonebook/View/inc/MPbkFieldAnalyzer.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *       Interface to be used by listbox model for analyzing
       
    16 *       TPbkContactItemField instances. 
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef __MPbkFieldAnalyzer_H__
       
    22 #define __MPbkFieldAnalyzer_H__
       
    23 
       
    24 //  FORWARD DECLARATIONS
       
    25 class TPbkContactItemField;
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30  * @internal Only Phonebook internal use supported!
       
    31  */
       
    32 class MPbkFieldAnalyzer
       
    33 	{
       
    34 	public: // Interface
       
    35         /**
       
    36          * Analyses if the TPbkContactItemField has a speed dial definition.
       
    37          *
       
    38          * @param   aField         field to analyze.
       
    39          * @return                 ETrue if field has speed dial definitionm,
       
    40          *                         otherwise false.
       
    41          */	
       
    42         virtual TBool HasSpeedDialL(const TPbkContactItemField& aField) const = 0;
       
    43         /**
       
    44          * Analyses if the TPbkContactItemField has a voice tag.
       
    45          *
       
    46          * @param   aField         field to analyze.
       
    47          * @return                 ETrue if field has voice tag definition
       
    48          *                         otherwise false.
       
    49          */	
       
    50         virtual TBool HasVoiceTagL(const TPbkContactItemField& aField) const = 0;
       
    51     };
       
    52 	
       
    53 #endif // __MPbkFieldAnalyzer_H__
       
    54 
       
    55 // End of File