summaryrefslogtreecommitdiffstats
path: root/include/plist
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-10-17 11:10:54 +0200
committerGravatar Jonathan Beck2009-10-17 11:10:54 +0200
commit33de762cf636e3f13f17e02d70de2869664e3f2b (patch)
treeedb92293a1f61d358c76180b9d96b7642f1614a4 /include/plist
parent6f453688c0b97ea979b2b2b515f4030e69e846fb (diff)
downloadlibplist-33de762cf636e3f13f17e02d70de2869664e3f2b.tar.gz
libplist-33de762cf636e3f13f17e02d70de2869664e3f2b.tar.bz2
Implement Date object.
Diffstat (limited to 'include/plist')
-rw-r--r--include/plist/Date.h7
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();
};
};