mirror of
https://github.com/libimobiledevice/libplist
synced 2026-06-08 15:29:34 +00:00
Remove wrongly exposed SetParent method.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user