diff options
author | Jonathan Beck | 2009-10-26 18:41:15 +0100 |
---|---|---|
committer | Jonathan Beck | 2009-10-26 18:41:15 +0100 |
commit | c1363bea107b15bdc10ce80671747be891661889 (patch) | |
tree | 1a8ce452eb6c1110ea0cd88dec155e99bfe7b69b /include/plist/Data.h | |
parent | bef50c0873aad5d8cd516428828e79fc05a43913 (diff) | |
download | libplist-c1363bea107b15bdc10ce80671747be891661889.tar.gz libplist-c1363bea107b15bdc10ce80671747be891661889.tar.bz2 |
Add Set/Get Parent and a helper to create a Node from a plist_t.
Diffstat (limited to 'include/plist/Data.h')
-rw-r--r-- | include/plist/Data.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/plist/Data.h b/include/plist/Data.h index 3db98f7..59a0096 100644 --- a/include/plist/Data.h +++ b/include/plist/Data.h @@ -31,8 +31,8 @@ namespace PList class Data : public Node { public : - Data(); - Data(plist_t node); + Data(Node* parent = NULL); + Data(plist_t node, Node* parent = NULL); Data(Data& d); Data& operator=(Data& d); Data(const std::vector<char>& buff); |