diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
commit | c0c336500955a23e344651e5412c9d9d441ef4ee (patch) | |
tree | 790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2NameList.h | |
parent | 37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff) | |
download | t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip |
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2NameList.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/T2DLL/T2NameList.h b/src/T2DLL/T2NameList.h index 82a3e5b..03fd23a 100644 --- a/src/T2DLL/T2NameList.h +++ b/src/T2DLL/T2NameList.h @@ -1,7 +1,8 @@ #pragma once #include "common.h" +#include "LArray.h" -class T2NameList { +class AFX_EXT_CLASS T2NameList : public LArray { public: T2NameList(); virtual ~T2NameList(); @@ -9,15 +10,12 @@ public: void Clear(); void Add(T2Name*); void RemoveName(T2Name*); - T2Name* Search(const T2Tenant*, int) const; - T2Name* Search(const T2Mover*, int) const; - T2Name* Search(const T2MoverModule*, int) const; - T2Name* Search(const T2People*, int) const; - T2Name* Search(const CString&, int) const; - T2Name* FullNameSearch(T2TowerDoc*, const CString&, int) const; + T2Name* Search(const T2Tenant*, BOOL isFavorite = false) const; + T2Name* Search(const T2Mover*, BOOL isFavorite = false) const; + T2Name* Search(const T2MoverModule*, BOOL isFavorite = false) const; + T2Name* Search(const T2People*, BOOL isFavorite = false) const; + T2Name* Search(const CString&, BOOL isFavorite = false) const; + T2Name* FullNameSearch(T2TowerDoc*, const CString&, BOOL isFavorite = false) const; void Read(T2Archive&); void Write(T2Archive&) const; - - T2NameList(const T2NameList&) {} - T2NameList& operator=(const T2NameList&) {} }; |