summaryrefslogtreecommitdiffstats
path: root/include/plist/Array.h
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-10-16 22:26:13 +0200
committerGravatar Jonathan Beck2009-10-16 22:26:13 +0200
commit32be8ec384bfd78e189d3de6609e50cf4dd072a2 (patch)
treeac7edad0f19be2a31efaaaaa3acd477dd2f3c233 /include/plist/Array.h
parent8aeef4dd2331445fea8a7a40466b19973e9d09c4 (diff)
downloadlibplist-32be8ec384bfd78e189d3de6609e50cf4dd072a2.tar.gz
libplist-32be8ec384bfd78e189d3de6609e50cf4dd072a2.tar.bz2
Fix Node lifecycle and change argument as reference to const reference.
Diffstat (limited to 'include/plist/Array.h')
-rw-r--r--include/plist/Array.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/plist/Array.h b/include/plist/Array.h
index f990928..106555d 100644
--- a/include/plist/Array.h
+++ b/include/plist/Array.h
@@ -34,9 +34,11 @@ class Array : public Structure
Array();
Array(plist_t node);
Array(Array& a);
- Array& operator=(const Array& a);
+ Array& operator=(Array& a);
virtual ~Array();
-
+
+ Node* Clone();
+
Node* operator[](unsigned int index);
void Append(Node* node);
void Insert(Node* node, unsigned int pos);