summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DateTime.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-07-01 02:43:29 +0100
committerAsh Wolf <ninji@wuffs.org>2023-07-01 02:43:29 +0100
commit5c6a48b2ff362a70416a6a00fda7d06e0f276f2d (patch)
tree62cf542c68d91aa6f7a4e3bfa9eddca4ab352970 /src/T2DLL/T2DateTime.h
parentc0c336500955a23e344651e5412c9d9d441ef4ee (diff)
downloadt2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz
t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip
i am in hell
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2DateTime.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/T2DLL/T2DateTime.h b/src/T2DLL/T2DateTime.h
index faf02fe..7104fe9 100644
--- a/src/T2DLL/T2DateTime.h
+++ b/src/T2DLL/T2DateTime.h
@@ -1,11 +1,18 @@
#pragma once
#include "common.h"
-class AFX_EXT_CLASS T2DateTime {
+class AFX_CLASS_EXPORT T2DateTime {
public:
T2DateTime();
T2DateTime(int year, int month, int hours, int minutes, int seconds);
T2DateTime(T2Archive& archive);
+ T2DateTime(const T2DateTime &other)
+ : mYear(other.mYear)
+ , mMonth(other.mMonth)
+ , mRawMinutes(other.mRawMinutes)
+ , mSeconds(other.mSeconds)
+ {}
+
virtual ~T2DateTime();
virtual void Write(T2Archive& archive);