diff options
Diffstat (limited to 'include/plist/Node.h')
| -rw-r--r-- | include/plist/Node.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/plist/Node.h b/include/plist/Node.h index 702d018..6e5411a 100644 --- a/include/plist/Node.h +++ b/include/plist/Node.h | |||
| @@ -33,15 +33,18 @@ class Node | |||
| 33 | virtual ~Node(); | 33 | virtual ~Node(); |
| 34 | 34 | ||
| 35 | virtual Node* Clone() = 0; | 35 | virtual Node* Clone() = 0; |
| 36 | Node * GetParent(); | ||
| 37 | void SetParent(Node* parent); | ||
| 36 | 38 | ||
| 37 | plist_type GetType(); | 39 | plist_type GetType(); |
| 38 | plist_t GetPlist(); | 40 | plist_t GetPlist(); |
| 39 | 41 | ||
| 40 | protected: | 42 | protected: |
| 41 | Node(); | 43 | Node(Node* parent = NULL); |
| 42 | Node(plist_t node); | 44 | Node(plist_t node, Node* parent = NULL); |
| 43 | Node(plist_type type); | 45 | Node(plist_type type, Node* parent = NULL); |
| 44 | plist_t _node; | 46 | plist_t _node; |
| 47 | Node* _parent; | ||
| 45 | }; | 48 | }; |
| 46 | 49 | ||
| 47 | }; | 50 | }; |
