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 @@ #define DATE_H #include <plist/Node.h> +#include <ctime> namespace PList { @@ -34,13 +35,13 @@ class Date : public Node Date(plist_t node); Date(Date& d); Date& operator=(Date& d); - Date(uint64_t i); + Date(timeval t); virtual ~Date(); Node* Clone(); - void SetValue(uint64_t i); - uint64_t GetValue(); + void SetValue(timeval t); + timeval GetValue(); }; }; |