|
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_HNSIMPLECONDITIONSMALLER_H |
|
21 #define C_HNSIMPLECONDITIONSMALLER_H |
|
22 |
|
23 #include "hnsimplecondition.h" |
|
24 |
|
25 /** |
|
26 * Simple Condition Smaller. |
|
27 * |
|
28 * Class compares with criterium 'smaller'. |
|
29 * |
|
30 * @lib hnmetadatamodel |
|
31 * @since S60 5.0 |
|
32 * @ingroup group_hnmetadatamodel |
|
33 */ |
|
34 NONSHARABLE_CLASS( CHnSimpleConditionSmaller ) : 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_HNSIMPLECONDITIONSMALLER_H |
|
63 |