summaryrefslogtreecommitdiffstats
path: root/include/plist/Date.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/Date.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/Date.h')
-rw-r--r--include/plist/Date.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/plist/Date.h b/include/plist/Date.h
index 78d8601..e9645aa 100644
--- a/include/plist/Date.h
+++ b/include/plist/Date.h
@@ -32,9 +32,13 @@ class Date : public Node
public :
Date();
Date(plist_t node);
+ Date(Date& d);
+ Date& operator=(Date& d);
Date(uint64_t i);
virtual ~Date();
+ Node* Clone();
+
void SetValue(uint64_t i);
uint64_t GetValue();
};