diff options
Diffstat (limited to 'src/T2DLL/LArray.h')
-rw-r--r-- | src/T2DLL/LArray.h | 8 |
1 files changed, 4 insertions, 4 deletions
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); |