equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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: Node predicate header |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef XNNODEPREDICATE_H |
|
20 #define XNNODEPREDICATE_H |
|
21 |
|
22 // System includes |
|
23 #include <e32base.h> |
|
24 |
|
25 // forward declarations |
|
26 class CXnNode; |
|
27 |
|
28 // Class declarations |
|
29 |
|
30 /** |
|
31 * Compares two objects. |
|
32 * |
|
33 * @ingroup group_xnlayoutengine |
|
34 * @lib xn3layoutengine.lib |
|
35 * @since Series 60 3.1 |
|
36 */ |
|
37 class MXnNodePredicate |
|
38 { |
|
39 public: |
|
40 // Constructors and destructor |
|
41 |
|
42 /** |
|
43 * C++ default constructor. |
|
44 */ |
|
45 IMPORT_C MXnNodePredicate(); |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 IMPORT_C virtual ~MXnNodePredicate(); |
|
51 |
|
52 public: |
|
53 // New functions |
|
54 |
|
55 /** |
|
56 * Tests whether an object matches the predicate |
|
57 * |
|
58 * @since Series 60 3.1 |
|
59 * @param aItem Object to test |
|
60 * @return ETrue if matches, EFalse if not |
|
61 */ |
|
62 IMPORT_C virtual TBool Match( CXnNode& aItem ); |
|
63 }; |
|
64 |
|
65 #endif // XNNODEPREDICATE_H |
|
66 |