diff options
author | Jonathan Beck | 2009-10-17 11:10:54 +0200 |
---|---|---|
committer | Jonathan Beck | 2009-10-17 11:10:54 +0200 |
commit | 33de762cf636e3f13f17e02d70de2869664e3f2b (patch) | |
tree | edb92293a1f61d358c76180b9d96b7642f1614a4 /include | |
parent | 6f453688c0b97ea979b2b2b515f4030e69e846fb (diff) | |
download | libplist-33de762cf636e3f13f17e02d70de2869664e3f2b.tar.gz libplist-33de762cf636e3f13f17e02d70de2869664e3f2b.tar.bz2 |
Implement Date object.
Diffstat (limited to 'include')
-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(); }; }; |