From c0c336500955a23e344651e5412c9d9d441ef4ee Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 28 Jun 2023 22:22:32 +0100 Subject: first pass of T2DLL --- src/T2DLL/LArray.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/T2DLL/LArray.h') diff --git a/src/T2DLL/LArray.h b/src/T2DLL/LArray.h index 110e3bc..223e6a2 100644 --- a/src/T2DLL/LArray.h +++ b/src/T2DLL/LArray.h @@ -2,7 +2,7 @@ #include "common.h" #include "LComparator.h" -class DLL_EXPORT LArray { +class AFX_EXT_CLASS LArray { public: LArray(); LArray(int size, LComparator* comparator = NULL, BOOL keepSorted = false); @@ -18,15 +18,15 @@ public: virtual void RemoveItemsAt(int count, int where); virtual void Remove(const void* item); virtual int FetchIndexOf(const void* item) const; - virtual int FetchItemAt(int index, void* outItem) const; + virtual BOOL FetchItemAt(int index, void* outItem) const; virtual void AssignItemsAt(int count, int where, void* data); virtual void Add(const void* item); void SetComparator(LComparator* comparator); virtual void ReadAsWord(T2Archive& archive); virtual void WriteAsWord(T2Archive& archive); virtual void ReadAsDWord(T2Archive& archive); + virtual void WriteAsDWord(T2Archive& archive); virtual void ReadAsChar(T2Archive& archive); - virtual void WriteAsDWord(T2Archive& archive); virtual void WriteAsChar(T2Archive& archive); protected: @@ -39,7 +39,7 @@ protected: BOOL mKeepSorted; }; -class DLL_EXPORT LArrayIterator { +class AFX_EXT_CLASS LArrayIterator { public: LArrayIterator(const LArray& array, int index = 1); LArrayIterator(const LArrayIterator& iter); -- cgit v1.2.3