diff options
Diffstat (limited to 'include/plist/Date.h')
| -rw-r--r-- | include/plist/Date.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/plist/Date.h b/include/plist/Date.h index e9645aa..5472657 100644 --- a/include/plist/Date.h +++ b/include/plist/Date.h | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | #define DATE_H | 23 | #define DATE_H |
| 24 | 24 | ||
| 25 | #include <plist/Node.h> | 25 | #include <plist/Node.h> |
| 26 | #include <ctime> | ||
| 26 | 27 | ||
| 27 | namespace PList | 28 | namespace PList |
| 28 | { | 29 | { |
| @@ -34,13 +35,13 @@ class Date : public Node | |||
| 34 | Date(plist_t node); | 35 | Date(plist_t node); |
| 35 | Date(Date& d); | 36 | Date(Date& d); |
| 36 | Date& operator=(Date& d); | 37 | Date& operator=(Date& d); |
| 37 | Date(uint64_t i); | 38 | Date(timeval t); |
| 38 | virtual ~Date(); | 39 | virtual ~Date(); |
| 39 | 40 | ||
| 40 | Node* Clone(); | 41 | Node* Clone(); |
| 41 | 42 | ||
| 42 | void SetValue(uint64_t i); | 43 | void SetValue(timeval t); |
| 43 | uint64_t GetValue(); | 44 | timeval GetValue(); |
| 44 | }; | 45 | }; |
| 45 | 46 | ||
| 46 | }; | 47 | }; |
