diff options
| author | 2009-10-16 22:26:13 +0200 | |
|---|---|---|
| committer | 2009-10-16 22:26:13 +0200 | |
| commit | 32be8ec384bfd78e189d3de6609e50cf4dd072a2 (patch) | |
| tree | ac7edad0f19be2a31efaaaaa3acd477dd2f3c233 /include/plist/Date.h | |
| parent | 8aeef4dd2331445fea8a7a40466b19973e9d09c4 (diff) | |
| download | libplist-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.h | 4 |
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 | |||
| 32 | public : | 32 | public : |
| 33 | Date(); | 33 | Date(); |
| 34 | Date(plist_t node); | 34 | Date(plist_t node); |
| 35 | Date(Date& d); | ||
| 36 | Date& operator=(Date& d); | ||
| 35 | Date(uint64_t i); | 37 | Date(uint64_t i); |
| 36 | virtual ~Date(); | 38 | virtual ~Date(); |
| 37 | 39 | ||
| 40 | Node* Clone(); | ||
| 41 | |||
| 38 | void SetValue(uint64_t i); | 42 | void SetValue(uint64_t i); |
| 39 | uint64_t GetValue(); | 43 | uint64_t GetValue(); |
| 40 | }; | 44 | }; |
