diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-01 02:43:29 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-01 02:43:29 +0100 |
commit | 5c6a48b2ff362a70416a6a00fda7d06e0f276f2d (patch) | |
tree | 62cf542c68d91aa6f7a4e3bfa9eddca4ab352970 /src/T2DLL/T2PeopleTimeZoneList.h | |
parent | c0c336500955a23e344651e5412c9d9d441ef4ee (diff) | |
download | t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip |
i am in hell
Diffstat (limited to 'src/T2DLL/T2PeopleTimeZoneList.h')
-rw-r--r-- | src/T2DLL/T2PeopleTimeZoneList.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/T2DLL/T2PeopleTimeZoneList.h b/src/T2DLL/T2PeopleTimeZoneList.h index 59a81b7..1b00721 100644 --- a/src/T2DLL/T2PeopleTimeZoneList.h +++ b/src/T2DLL/T2PeopleTimeZoneList.h @@ -2,7 +2,7 @@ #include "common.h" #include "LArray.h" -class AFX_EXT_CLASS T2PeopleTimeZoneList : public LArray { +class AFX_CLASS_EXPORT T2PeopleTimeZoneList : public LArray { public: T2PeopleTimeZoneList(unsigned int someNum, unsigned int isFixed, T2WorldDef* worldDef); T2PeopleTimeZoneList(T2Archive&, T2WorldDef*); @@ -16,14 +16,14 @@ public: void DispatchAdd(T2PeopleType*); void Write(T2Archive&); - BOOL IsFixed() const { return mIsFixed;} + BOOL IsFixed() const; protected: void Add(T2PeopleTypeArray* inArray); T2PeopleTypeArray* GetItem(int index) const; T2PeopleTypeArray* CurrentItem() const; - int GetNumOfTimeZone() const { return GetCount(); } + int GetNumOfTimeZone() const; int _20; BOOL mIsFixed; @@ -32,3 +32,11 @@ protected: int mCurrentHour; T2WorldDef *mWorldDef; }; + +inline BOOL T2PeopleTimeZoneList::IsFixed() const { + return mIsFixed; +} + +inline int T2PeopleTimeZoneList::GetNumOfTimeZone() const { + return GetCount(); +} |