summaryrefslogtreecommitdiffstats
path: root/src/Date.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Date.cpp')
-rw-r--r--src/Date.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Date.cpp b/src/Date.cpp
index f6a6f42..18e1d27 100644
--- a/src/Date.cpp
+++ b/src/Date.cpp
@@ -32,6 +32,16 @@ Date::Date(plist_t node) : Node(node)
{
}
+Date::Date(Date& d) : Node(PLIST_DATE)
+{
+ //TODO
+}
+
+Date& Date::operator=(PList::Date& b)
+{
+ //TODO
+}
+
Date::Date(uint64_t i) : Node(PLIST_DATE)
{
plist_set_date_val(_node, i, 0);
@@ -41,6 +51,11 @@ Date::~Date()
{
}
+Node* Date::Clone()
+{
+ return new Date(*this);
+}
+
void Date::SetValue(uint64_t i)
{
plist_set_date_val(_node, i, 0);