summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2NameList.h
blob: a6cc2c8d2275b5ea0df0a680478deb3f086aa25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef T2DLL_T2NAMELIST_H
#define T2DLL_T2NAMELIST_H
#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;
};
#endif