#pragma once #include "common.h" #include "LArray.h" class AFX_CLASS_EXPORT T2NameList : public LArray { public: T2NameList(); virtual ~T2NameList(); unsigned int GetItemCount(); void Clear(); void Add(T2Name*); void RemoveName(T2Name*); 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; };