summaryrefslogtreecommitdiffstats
path: root/include/plist/Node.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/plist/Node.h')
-rw-r--r--include/plist/Node.h9
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
virtual ~Node();
virtual Node* Clone() = 0;
+ Node * GetParent();
+ void SetParent(Node* parent);
plist_type GetType();
plist_t GetPlist();
protected:
- Node();
- Node(plist_t node);
- Node(plist_type type);
+ Node(Node* parent = NULL);
+ Node(plist_t node, Node* parent = NULL);
+ Node(plist_type type, Node* parent = NULL);
plist_t _node;
+ Node* _parent;
};
};