Remove wrongly exposed SetParent method.

This commit is contained in:
Jonathan Beck
2009-11-10 18:30:43 +01:00
parent 84596548e5
commit 0f92ed12ff
6 changed files with 23 additions and 20 deletions
+4 -2
View File
@@ -33,9 +33,8 @@ public :
virtual ~Node();
virtual Node* Clone() = 0;
Node * GetParent();
void SetParent(Node* parent);
Node * GetParent();
plist_type GetType();
plist_t GetPlist();
@@ -44,7 +43,10 @@ protected:
Node(plist_t node, Node* parent = NULL);
Node(plist_type type, Node* parent = NULL);
plist_t _node;
private:
Node* _parent;
friend class Structure;
};
};
+1
View File
@@ -44,6 +44,7 @@ public :
protected:
Structure(Node* parent = NULL);
Structure(plist_type type, Node* parent = NULL);
void UpdateNodeParent(Node* node);
private:
Structure(Structure& s);