|
1 /* |
|
2 * Copyright (c) 2002-2005 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: XCFW tree node interface |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MXCFWNODEINTERFACE_H |
|
21 #define MXCFWNODEINTERFACE_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <s32std.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CGECOObjectBase; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 /* |
|
31 * |
|
32 * Node interface for accessing data and relative nodes |
|
33 * |
|
34 * @lib XCFW.lib |
|
35 * @since Series 60 3.1 |
|
36 */ |
|
37 class MXCFWNode |
|
38 { |
|
39 public: |
|
40 /** |
|
41 * Returns parent of this node |
|
42 * @since Series 60 3.1 |
|
43 * @return Parent node |
|
44 */ |
|
45 virtual MXCFWNode* Parent() = 0; |
|
46 |
|
47 /** |
|
48 * Returns first child of this node |
|
49 * @since Series 60 3.1 |
|
50 * @return First child node |
|
51 */ |
|
52 virtual MXCFWNode* FirstChild() = 0; |
|
53 |
|
54 /** |
|
55 * Returns last child of this node |
|
56 * @since Series 60 3.1 |
|
57 * @return Last child node |
|
58 */ |
|
59 virtual MXCFWNode* LastChild() = 0; |
|
60 |
|
61 /** |
|
62 * Returns next sibling of this node |
|
63 * @since Series 60 3.1 |
|
64 * @return Next sibling node |
|
65 */ |
|
66 virtual MXCFWNode* NextSibling() = 0; |
|
67 |
|
68 /** |
|
69 * Returns previous sibling of this node |
|
70 * @since Series 60 3.1 |
|
71 * @return Previous sibling node |
|
72 */ |
|
73 virtual MXCFWNode* PrevSibling() = 0; |
|
74 |
|
75 /** |
|
76 * Returns Object parser from this node |
|
77 * @since Series 60 3.1 |
|
78 * @return Object parser instance |
|
79 */ |
|
80 virtual CGECOObjectBase* Data() = 0; |
|
81 }; |
|
82 |
|
83 |
|
84 #endif // MXCFWNODEINTERFACE_H |
|
85 |
|
86 // End of File |