menufw/hierarchynavigator/hnmetadatamodel/inc/hnsimpleconditionequal.h
changeset 0 f72a12da539e
equal deleted inserted replaced
-1:000000000000 0:f72a12da539e
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_HNSIMPLECONDITIONEQUAL_H
       
    21 #define C_HNSIMPLECONDITIONEQUAL_H
       
    22 
       
    23 #include "hnsimplecondition.h"
       
    24 
       
    25 /**
       
    26  * Simple Condition Equal.
       
    27  * 
       
    28  * Class compares condition with criterium 'equal'.
       
    29  *
       
    30  * @lib hnmetadatamodel
       
    31  * @since S60 5.0
       
    32  * @ingroup group_hnmetadatamodel
       
    33  */
       
    34 NONSHARABLE_CLASS( CHnSimpleConditionEqual ) : public CHnSimpleCondition
       
    35     {
       
    36     /**
       
    37      * Gets positions. From CHnMenuCondition.
       
    38      * 
       
    39      * @param aBuffer Buffer.
       
    40      * @return Position.
       
    41      */
       
    42     TInt GetPositionL( const TDesC8& aBuffer );
       
    43     
       
    44     /**
       
    45      * Returns result. From CHnMenuCondition.
       
    46      *
       
    47      * @since S60 v3.2
       
    48      * @param aVarLeft Left Liv variant condition to compare.
       
    49      * @param aVarRight Right Liv variant condition to compare.
       
    50      * @return True if condition is satisfied.
       
    51      */    
       
    52     TBool CheckCondition( TLiwVariant& aVarLeft, TLiwVariant& aVarRight );
       
    53    
       
    54     /**
       
    55      * Gets length. From CHnMenuCondition.
       
    56      * 
       
    57      * @return Length of an operator.
       
    58      */
       
    59     TInt SignLength();
       
    60     };
       
    61    
       
    62 #endif // C_HNSIMPLECONDITIONEQUAL_H
       
    63