diff -r 000000000000 -r f72a12da539e menufw/hierarchynavigator/hnmetadatamodel/inc/hnsimpleconditionequal.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/menufw/hierarchynavigator/hnmetadatamodel/inc/hnsimpleconditionequal.h Thu Dec 17 08:40:49 2009 +0200 @@ -0,0 +1,63 @@ +/* +* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + + +#ifndef C_HNSIMPLECONDITIONEQUAL_H +#define C_HNSIMPLECONDITIONEQUAL_H + +#include "hnsimplecondition.h" + +/** + * Simple Condition Equal. + * + * Class compares condition with criterium 'equal'. + * + * @lib hnmetadatamodel + * @since S60 5.0 + * @ingroup group_hnmetadatamodel + */ +NONSHARABLE_CLASS( CHnSimpleConditionEqual ) : public CHnSimpleCondition + { + /** + * Gets positions. From CHnMenuCondition. + * + * @param aBuffer Buffer. + * @return Position. + */ + TInt GetPositionL( const TDesC8& aBuffer ); + + /** + * Returns result. From CHnMenuCondition. + * + * @since S60 v3.2 + * @param aVarLeft Left Liv variant condition to compare. + * @param aVarRight Right Liv variant condition to compare. + * @return True if condition is satisfied. + */ + TBool CheckCondition( TLiwVariant& aVarLeft, TLiwVariant& aVarRight ); + + /** + * Gets length. From CHnMenuCondition. + * + * @return Length of an operator. + */ + TInt SignLength(); + }; + +#endif // C_HNSIMPLECONDITIONEQUAL_H +