summaryrefslogtreecommitdiffstats
path: root/include/plist/Node.h
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-11-10 18:30:43 +0100
committerGravatar Jonathan Beck2009-11-10 18:30:43 +0100
commit0f92ed12ff8a0f46e80ff8cfc030c476d371c19b (patch)
tree4015f1e91fbf46a6a211bcbe5d376c7f2e6a67a1 /include/plist/Node.h
parent84596548e5d0cb14dfd7d2a74156331ab36a8909 (diff)
downloadlibplist-0f92ed12ff8a0f46e80ff8cfc030c476d371c19b.tar.gz
libplist-0f92ed12ff8a0f46e80ff8cfc030c476d371c19b.tar.bz2
Remove wrongly exposed SetParent method.
Diffstat (limited to 'include/plist/Node.h')
-rw-r--r--include/plist/Node.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/plist/Node.h b/include/plist/Node.h
index 7ea6ed9..2f9f5b6 100644
--- a/include/plist/Node.h
+++ b/include/plist/Node.h
@@ -33,9 +33,8 @@ public :
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);
38 36
37 Node * GetParent();
39 plist_type GetType(); 38 plist_type GetType();
40 plist_t GetPlist(); 39 plist_t GetPlist();
41 40
@@ -44,7 +43,10 @@ protected:
44 Node(plist_t node, Node* parent = NULL); 43 Node(plist_t node, Node* parent = NULL);
45 Node(plist_type type, Node* parent = NULL); 44 Node(plist_type type, Node* parent = NULL);
46 plist_t _node; 45 plist_t _node;
46
47private:
47 Node* _parent; 48 Node* _parent;
49 friend class Structure;
48}; 50};
49 51
50}; 52};