From 33de762cf636e3f13f17e02d70de2869664e3f2b Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Sat, 17 Oct 2009 11:10:54 +0200 Subject: Implement Date object. --- include/plist/Date.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include') 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 +#include 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(); }; }; -- cgit v1.1-32-gdbae